Kafka Pub


The Kafka Pub node establishes a Kafka client that publish messages to a third-party Kafka server.

Node Type

External.

Input and Output Ability

This node has 1 entry point and 1 exit point. Both the input and the output can be any format. The input msg is the message to be published.

Node Properties

../../_images/kafka_pub.png


Name

The name for this node.


Host

The host address or domain name.


Topic

The Kafka topic to publish to. You can specify only 1 topic.


Authentication Method

The authentication method, Anonymous or Username/Password.

  • Anonymous: Does not need any authentication.

  • Username/Password: Enter the Username and Password used for authentication.


Description

The description for this node.

Limitations

  • Maximum number of topics: 1

  • As the Kafka server is not managed by EnOS, connection problems could occur due to server downtime or other instances that are not within our control.

Samples

Input Sample

Example of a JSON object as input:

{
   "externalId":"externalId",
   "timestamp":24214324324,
   "measurepoints":{
     "speed":32,
     "heat":40
   }
 }

Output Sample

{
   "externalId":"externalId",
   "timestamp":24214324324,
   "measurepoints":{
     "speed":32,
     "heat":40
   }
 }