Kafka
Event source specification of Kafka
KafkaSpec
Belong to EventSourceSpec
The EventSource generates Dapr Bindings Components for adapting Kafka event sources according to the KafkaSpec, and in principle we try to maintain the consistency of the relevant parameters. You can get more information by visiting the Kafka binding spec.
Field | Description |
---|---|
brokers string | A comma-separated string of Kafka server addresses. E.g. localhost:9092 |
authRequired bool | Whether to enable SASL authentication for the Kafka server. Optional: true , false |
topic string | The topic name of the Kafka event source, e.g. topic 1, myTopic |
saslUsername string | (Optional) The SASL username to use for authentication. Only required if authRequired is true . For example: admin |
saslPassword string | (Optional) The SASL user password for authentication. Only required if authRequired is true . For example: 123456 |
maxMessageBytes int64 | (Optional) The maximum number of bytes a single message is allowed to contain. Default is 1024 . For example: 2048 |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 6, 2021: Add Chinese docs (3d1d7bd)