Event source specifications of Kafka.
Belong to EventSourceSpec.
NoteThe 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.
|brokers string||A comma-separated string of Kafka server addresses, for example, |
|authRequired bool||Whether to enable SASL authentication for the Kafka server. Value options: |
|topic string||The topic name of the Kafka event source, for example, |
|saslUsername string||(Optional) The SASL username to use for authentication. Only required if authRequired is |
|saslPassword string||(Optional) The SASL user password for authentication. Only required if authRequired is |
|maxMessageBytes int64||(Optional) The maximum number of bytes a single message is allowed to contain. Default is |
|scaleOption KafkaScaleOption||(Optional) Kafka’s scale configuration.|
Belong to KafkaSpec.
|GenericScaleOption||Generic scale configuration.|
|consumerGroup string||Kafka’s consumer group name.|
|topic string||Topic under monitoring, for example, |
|lagThreshold string||Threshold for triggering scaling, in this case is the Kafka’s lag.|
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 February 24, 2022: Update Documentation (#40) (dd32030)