Hi All -
have a question regd. confluent replicator monitoring..
I'm trying to use JMX_PORT to monitor Replicator Producers/Consumer
Here is what i've done -
1) set JMX_PORT(=12345) & re-started Kafka Connect
2)
Then, i've configured Prometheus yaml to add the Connect
- job_name: 'connect'
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
static_configs:
- targets: ['<host where kafka-connect runs>:12345']
3) started the replicator & the producer/consumer
Producer ->
$CONFLUENT1/bin/kafka-producer-perf-test --topic repStr3 --num-records 10000000 --record-size 1000 --throughput 10000 --producer-props bootstrap.servers=hostname:8092 interceptor.classes=io.confluent.monitoring.clients.interceptor.MonitoringProducerInterceptor acks=all
Consumer ->
$CONFLUENT/bin/kafka-console-consumer --topic repStr3.replica --new-consumer --bootstrap-server hostname:9092 --consumer.config $CONFLUENT/consumer3.config
However, i don't see the confluent producer/consumer metrics in Prometheus.
so, do i need to do any additional steps to enable monitoring of the Replicator producer/consumer ?
Pls .let me know.
Pls note -> i plan on displaying the metrics on Grafana dashboard (by linking Prometheus + Grafana)
thanks!