Invalid kafka_consumer documentation
kafka_consumer is able to figure out partitions on its own, there is no need to specify them here. Change-Id: I9f97d95bf49b7b89a4eccfa119e07cb30e4f37b1
This commit is contained in:
parent
1ded4ca81a
commit
1a25c633b8
|
@ -4,8 +4,6 @@ init_config:
|
|||
|
||||
instances:
|
||||
# - kafka_connect_str: localhost:19092
|
||||
# zk_connect_str: localhost:2181
|
||||
# zk_prefix: /0.8
|
||||
# It is possible to get the lag for each partition, the default is to sum lag for all partitions
|
||||
# per_partition: False
|
||||
# Full includes additional metrics with actual offsets per partition, can't be set if per_partition is False
|
||||
|
|
|
@ -941,23 +941,21 @@ This section describes the Kafka check that can be performed by the Agent. The
|
|||
|
||||
Sample config:
|
||||
|
||||
```
|
||||
```yml
|
||||
init_config:
|
||||
|
||||
instances:
|
||||
- consumer_groups:
|
||||
'1_alarm-state-transitions':
|
||||
'alarm-state-transitions': ['3', '2', '1', '0']
|
||||
'1_metrics':
|
||||
'metrics': &id001 ['3', '2', '1', '0']
|
||||
'test':
|
||||
'healthcheck': ['1', '0']
|
||||
'thresh-event':
|
||||
'events': ['3', '2', '1', '0']
|
||||
'thresh-metric':
|
||||
'metrics': *id001
|
||||
kafka_connect_str: localhost:9092
|
||||
zk_connect_str: localhost:2181
|
||||
- built_by: Kafka
|
||||
consumer_groups:
|
||||
1_metrics:
|
||||
metrics: []
|
||||
thresh-event:
|
||||
events: []
|
||||
thresh-metric:
|
||||
metrics: []
|
||||
kafka_connect_str: 192.168.10.6:9092
|
||||
name: 192.168.10.6:9092
|
||||
per_partition: false
|
||||
```
|
||||
|
||||
The Kafka checks return the following metrics:
|
||||
|
|
Loading…
Reference in New Issue