Re: Cleanup unused topics

2018-08-22 Thread Luigi Tagliamonte
Thank you Brett I identified this metrics as well, thank you for confirming. I ended up using TotalProduceRequestsPerSec and TotalFetchRequestsPerSec. Regards On Tue, Aug 21, 2018 at 9:53 PM Brett Rann wrote: > These are in regex form for DataDog's JMX collector, but it should get you >

Re: Cleanup unused topics

2018-08-21 Thread Brett Rann
These are in regex form for DataDog's JMX collector, but it should get you started: bean_regex: 'kafka\.server:type=BrokerTopicMetrics,name=TotalProduceRequestsPerSec,topic=.*' bean_regex: 'kafka\.server:type=BrokerTopicMetrics,name=TotalFetchRequestsPerSec,topic=.*'

Cleanup unused topics

2018-08-21 Thread Luigi Tagliamonte
I've got a sandbox cluster (without any control on topic creation) full of unused topics and I'd like to cleanup all the those topics. I was able to identify all the topics with 0 messages with the following lines: *#!/bin/bash* *set -e* *BROKERS="10.16.208.220:9092