fgeller / kt

Kafka command line tool that likes JSON
MIT License
950 stars 100 forks source link

Not able to delete topics from distributed kafka cluster #99

Closed prashant-shahi closed 4 years ago

prashant-shahi commented 5 years ago
$ kt admin -brokers HOST1:9092,HOST2:9092,HOST3:9092,HOST4:9092,HOST5:9092,HOST6:9092 -deletetopic testtopic -verbose -timeout 2000s

2019/02/01 07:45:25 Initializing new client
2019/02/01 07:45:25 client/metadata fetching metadata for all topics from broker HOST6:9092
2019/02/01 07:45:25 Connected to broker at HOST6:9092 (unregistered)
2019/02/01 07:45:27 client/brokers registered new broker #0 at kafka-cluster-0.c.xxx.internal:9092
2019/02/01 07:45:27 client/brokers registered new broker #5 at kafka-cluster-5.c.xxx.internal:9092
2019/02/01 07:45:27 client/brokers registered new broker #4 at kafka-cluster-4.c.xxx.internal:9092
2019/02/01 07:45:27 client/brokers registered new broker #1 at kafka-cluster-1.c.xxx.internal:9092
2019/02/01 07:45:27 client/brokers registered new broker #2 at kafka-cluster-2.c.xxx.internal:9092
2019/02/01 07:45:27 client/brokers registered new broker #3 at kafka-cluster-3.c.xxx.internal:9092
2019/02/01 07:45:27 Successfully initialized new client
2019/02/01 07:45:27 Connected to broker at kafka-cluster-1.c.xxx.internal:9092 (registered as #1)
failed to delete topic err=read tcp HOST1:38962->HOST2:9092: i/o timeout
fgeller commented 4 years ago

hi @prashant-shahi - sorry for the delay, i've only recently resumed work on my github projects. the above sounds like a networking issue to me as you get an 'i/o timeout'. given the delay i hope you've found the issue? i'm closing this issue for now, but feel free to re-open it if i can be of help. thanks!