Kafka Listener

The Kafka Listen Adaptor allows a Graph to respond to new messages as they are published to a Kafka Topic.

Creating a  Kafka Listen Adaptor

In order to create a Kafka Listen Adaptor you must first create a Kafka Connection.

To create the Kafka Listen Adaptor on any graph click on the “Graph Options” button in the top left of the Graph Editor, then select “Add Listener”.



This will present you with the “Listener Editor” modal. Select the Kafka listener type from the “Listener Type” selection. Next, you must select a connection from the “Connection” dropdown. 

The “Number of Consumers” is configurable, but each Kafka Broker can only have 1 active Consumer per Topic. For example, if a Kafka Cluster has a Topic shared across 3 Brokers, only 3 Kafka Consumers will be active, even if “Number of Consumers” is set to 5.

Messages received by the Kafka Listener will be returned to the Records Selected output destination in JSON serialized format.

Validation Warnings

WarningNote

Kafka Listener must have an output.

It is necessary to select an output location for the Kafka Adaptor.

Kafka Listener must have a connection set.

No connection has been selected.



Privacy Policy
© 2022 CSG International, Inc.