CMAK icon indicating copy to clipboard operation
CMAK copied to clipboard

Topics are not getting deleted from kafka-manager. Even after clicking the delete topic, the topic is still present.

Open pavansai8 opened this issue 9 years ago • 6 comments

pavansai8 avatar Apr 06 '17 11:04 pavansai8

Did you configure your Kafka instance as delete.topic.enable=true?

aries-zhang avatar Apr 07 '17 02:04 aries-zhang

Hi Aries,

I have added the parameter in kafka-server properties and restart the kafka server. And when I tried to delete topic from kafka manager it is throwing below error. KeeperErrorCode = NodeExists for /admin/delete_topics/sample

On Fri, Apr 7, 2017 at 8:19 AM, Aries Zhang [email protected] wrote:

Did you configure your Kafka instance as delete.topic.enable=true?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yahoo/kafka-manager/issues/371#issuecomment-292410525, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5k40Tjt8OwF0w3rS5BeIbqMJ3m-Uifks5rtaQ-gaJpZM4M1czV .

pavansai8 avatar Apr 07 '17 08:04 pavansai8

Can I create the delete the topics which are created before enabling this parameter from kafka-manager?

On Fri, Apr 7, 2017 at 1:54 PM, pavan sai [email protected] wrote:

Hi Aries,

I have added the parameter in kafka-server properties and restart the kafka server. And when I tried to delete topic from kafka manager it is throwing below error. KeeperErrorCode = NodeExists for /admin/delete_topics/sample

On Fri, Apr 7, 2017 at 8:19 AM, Aries Zhang [email protected] wrote:

Did you configure your Kafka instance as delete.topic.enable=true?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yahoo/kafka-manager/issues/371#issuecomment-292410525, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5k40Tjt8OwF0w3rS5BeIbqMJ3m-Uifks5rtaQ-gaJpZM4M1czV .

pavansai8 avatar Apr 07 '17 08:04 pavansai8

Also Aries, We are not able to topic metrics about in flow and out flow messages. I mean the metrics are always showing 0 value. Is there anything I need to enable here. Messages in /sec 0.00 0.00 0.00 0.00 Bytes in /sec 0.00 0.00 0.00 0.00 Bytes out /sec 0.00 0.00 0.00 0.00 Bytes rejected /sec 0.00 0.00 0.00 0.00 Failed fetch request /sec 0.00 0.00 0.00 0.00 Failed produce request /sec

On Fri, Apr 7, 2017 at 1:59 PM, pavan sai [email protected] wrote:

Can I create the delete the topics which are created before enabling this parameter from kafka-manager?

On Fri, Apr 7, 2017 at 1:54 PM, pavan sai [email protected] wrote:

Hi Aries,

I have added the parameter in kafka-server properties and restart the kafka server. And when I tried to delete topic from kafka manager it is throwing below error. KeeperErrorCode = NodeExists for /admin/delete_topics/sample

On Fri, Apr 7, 2017 at 8:19 AM, Aries Zhang [email protected] wrote:

Did you configure your Kafka instance as delete.topic.enable=true?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yahoo/kafka-manager/issues/371#issuecomment-292410525, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5k40Tjt8OwF0w3rS5BeIbqMJ3m-Uifks5rtaQ-gaJpZM4M1czV .

pavansai8 avatar Apr 07 '17 09:04 pavansai8

Hi Aries,

I enabled the jmx port and I'm able to see the metircs now. Thanks for your help.

I have one doubt on how to understand those metrics? What is that mean and remaining? How can I get the number of messages per second? bytes per second?

On Fri, Apr 7, 2017 at 2:43 PM, pavan sai [email protected] wrote:

Also Aries, We are not able to topic metrics about in flow and out flow messages. I mean the metrics are always showing 0 value. Is there anything I need to enable here. Messages in /sec 0.00 0.00 0.00 0.00 Bytes in /sec 0.00 0.00 0.00 0.00 Bytes out /sec 0.00 0.00 0.00 0.00 Bytes rejected /sec 0.00 0.00 0.00 0.00 Failed fetch request /sec 0.00 0.00 0.00 0.00 Failed produce request /sec

On Fri, Apr 7, 2017 at 1:59 PM, pavan sai [email protected] wrote:

Can I create the delete the topics which are created before enabling this parameter from kafka-manager?

On Fri, Apr 7, 2017 at 1:54 PM, pavan sai [email protected] wrote:

Hi Aries,

I have added the parameter in kafka-server properties and restart the kafka server. And when I tried to delete topic from kafka manager it is throwing below error. KeeperErrorCode = NodeExists for /admin/delete_topics/sample

On Fri, Apr 7, 2017 at 8:19 AM, Aries Zhang [email protected] wrote:

Did you configure your Kafka instance as delete.topic.enable=true?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yahoo/kafka-manager/issues/371#issuecomment-292410525, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5k40Tjt8OwF0w3rS5BeIbqMJ3m-Uifks5rtaQ-gaJpZM4M1czV .

pavansai8 avatar Apr 07 '17 13:04 pavansai8

Let's not go into the weeds here. The problem originally opened by this issue is regarding not being able to delete topics, not about metrics. If somebody can answer @pavansai8's original question, that would be great. I would suggest that the other interested in metrics file a different issue.

I am currently running into the same issue as @pavansai8. However, I attempted to delete my topic through Kafka Manger. I recall somebody mentioning a setting which by default keeps topics around for 1 day if you issue a topic delete. Currently, I am not able to find that parameter to test changing it.

rorysavage77 avatar Jun 29 '17 20:06 rorysavage77