Skip to content

Commit 864b4fa

Browse files
Daryl Coburnvruello
authored andcommitted
better kafka multi-topic description
1 parent b9c10b6 commit 864b4fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/outputs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ $ openwec subscriptions edit <subscription> outputs add --format <format> files
7373

7474
The Kafka driver sends events in a Kafka topic.
7575

76-
For a given subscription, all events will be sent in the configured Kafka topic. If there are multiple topics then topic can contain that list, delimited with commas. You may want to add additionnal options to the inner Kafka client, such as `bootstrap.servers`. This options will be directly given to `librdkafka` (available options are listed here: https://docs.confluent.io/platform/current/clients/librdkafka/html/md_CONFIGURATION.html).
76+
For a given subscription, all events will be sent in the configured Kafka topic. If multiple topics are provided, delimited by commas, then the events are evenly distributed across the listed topics.
77+
78+
You may want to add additionnal options to the inner Kafka client, such as `bootstrap.servers`. This options will be directly given to `librdkafka` (available options are listed here: https://docs.confluent.io/platform/current/clients/librdkafka/html/md_CONFIGURATION.html).
7779

7880
> [!TIP]
7981
> If multiple outputs use the Kafka driver and connect to the same Kafka cluster, it is recommended to configure the additional options in OpenWEC settings (`outputs.kafka.options`) **and** to omit the `options` parameter in Kafka output configuration. This way, only one Kafka client will be used by all the outputs, which is more resource efficient.

0 commit comments

Comments
 (0)