VILLASframework
Modular co-simulation framework
|
The Kafka node-type uses librdkafka to produce and consume event stream messages to/from kafka message brokers cluster.
This node-type requires rdkafka (>= 1.5.0).
The source code of the node-type is available here: https://git.rwth-aachen.de/acs/public/villas/node/blob/master/lib/nodes/kafka.cpp
The payload format which is used to encode and decode exchanged messages.
The bootstrap server {ip}:{port} of the Kafka message brokers cluster.
The security protocol which is used for authentication with the Kafka cluster.
The Kafka client identifier.
Path to a Certificate Authority (CA) bundle which is used to validate broker server certificate.
An object for configuring the SASL authentication against the broker. This setting is used if protocol (string: "PLAINTEXT" | "SASL_PLAINTEXT" | "SASL_SSL" | "SSL") is on of SASL_PLAINTEXT
or SASL_SSL
.
See below for an example.
The Kafka topic to which this node-type will subscribe for receiving messages.
The group id of the Kafka client used for receiving messages.
The Kafka topic to which this node-type will publish messages.
A timeout in seconds for the broker connection.