docs(outputs.kafka): specify broker behavior (#12161)
This commit is contained in:
parent
6a29dcba45
commit
07345e82f3
|
|
@ -18,7 +18,11 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
|||
# Configuration for the Kafka server to send metrics to
|
||||
[[outputs.kafka]]
|
||||
## URLs of kafka brokers
|
||||
## The brokers listed here are used to connect to collect metadata about a
|
||||
## cluster. However, once the initial metadata collect is completed, telegraf
|
||||
## will communicate solely with the kafka leader and not all defined brokers.
|
||||
brokers = ["localhost:9092"]
|
||||
|
||||
## Kafka topic for producer messages
|
||||
topic = "telegraf"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
# Configuration for the Kafka server to send metrics to
|
||||
[[outputs.kafka]]
|
||||
## URLs of kafka brokers
|
||||
## The brokers listed here are used to connect to collect metadata about a
|
||||
## cluster. However, once the initial metadata collect is completed, telegraf
|
||||
## will communicate solely with the kafka leader and not all defined brokers.
|
||||
brokers = ["localhost:9092"]
|
||||
|
||||
## Kafka topic for producer messages
|
||||
topic = "telegraf"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue