Kafka Listener
  • 03 Sep 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Kafka Listener

  • Dark
    Light
  • PDF

Article summary

Creating a Kafka Listen Adaptor

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

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

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

This will direct you to the “Listener Editor” modal. Select the Kafka listener type from the “Listener Type” dropdown.

  • Select a connection from the “Connection” dropdown. 

The “Number of Consumers” is configurable, but each Kafka Broker can only have one 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 the Kafka Listener receives will be returned to the Records Selected output destination in JSON serialized format.


Validation Warnings

New Notification : All the warning notifications will be displayed in the Notification Panel at the right side of the page.

NotificationNote
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.

Related Pages:


Is it helpful? React and share your comment

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence