Confluent Control Center Interceptor

2019-08-26 00:59发布

How do I add Confluent Control Center Interceptor to an existing S3(Sink) Connector? To monitor the Sink. I am looking for documentation. Any help is appreciated.

1条回答
乱世女痞
2楼-- · 2019-08-26 01:36

To be absolutely clear, you need interceptors on your sink and source. If you don't, you can't monitor your pipelines with Confluent Control Center as it stands today.

To enable interceptors in Kafka Connect, add to the worker properties file:

consumer.interceptor.classes=io.confluent.monitoring.clients.interceptor.MonitoringConsumerInterceptor
producer.interceptor.classes=io.confluent.monitoring.clients.interceptor.MonitoringProducerInterceptor

If you're running it in distributed mode then the worker config file will be etc/kafka/connect-distributed.properties.

查看更多
登录 后发表回答