Skip to main content

How to send pipeline events as messages to Kafka topics?

  • December 21, 2021
  • 0 replies
  • 57 views

AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

Question:

How to send pipeline events like start, stop, etc. as messages to a Kafka topic?

 

Answer:

SDC exposes WebSockets endpoint 'ws://localhost:18630/rest/v1/webSocket?type=status' for SDC pipeline ptatus change events (STARTING, RUNNING, STOPPING, STOPPED, ...). So, a pipeline can be created with WebSocket Client Origin -> Kafka Producer Destination to send all pipeline events as Kafka Message to a Kafka topic.

 

The attached sample pipeline illustrates that use case.

 

Related JIRA:

SDC-8387

Did this topic help you find an answer to your question?
This topic has been closed for comments