CMAK icon indicating copy to clipboard operation
CMAK copied to clipboard

How to delete consumer group (using new consumer API) in kafka manger?

Open KaimingWan opened this issue 8 years ago • 10 comments

As we know, kafka 0.10.x store consumer's offset in a topic. We can't delete a group id in kafka manager by remove the node in zookeeper. However, I have a deprecated consumer group but the topic it consumerd from is still useful. We can see the lag of the consumer group is keep growing. Are there some method to work this out?

KaimingWan avatar Jan 05 '17 15:01 KaimingWan

you can disabled the kafka manager, and enable it.

wufsmail avatar Jan 13 '17 02:01 wufsmail

good question。

FreeSlaver avatar Feb 09 '17 04:02 FreeSlaver

an option to delete or reset a consumer group would be great

ksilin avatar Sep 01 '17 12:09 ksilin

Did anybody solved this problem?i met the same question that i can see the deleted consumer group in Kafka 0.9

ThomasLau avatar Nov 27 '17 00:11 ThomasLau

Any news by chance?

asyd avatar Jan 24 '18 11:01 asyd

You guys can do that with burrow, look at the API: https://github.com/linkedin/Burrow/wiki/http-request-remove-consumer-group

Burrow: https://github.com/linkedin/Burrow API: https://github.com/linkedin/Burrow/wiki/HTTP-Endpoint Dash: https://github.com/joway/burrow-dashboard

geez avatar Jan 30 '18 14:01 geez

@geez

No. This api just make Burrow not check the lag of that group. It doesn't remove that group from kafka broker.

imjustfly avatar Mar 07 '18 02:03 imjustfly

There's no need to delete group metadata for the new consumer as the group is deleted when the last committed offset for that group expires.

deric avatar Oct 22 '18 09:10 deric

@deric The consumer group can be automatically deleted?

Ian-lin-max avatar Apr 02 '21 04:04 Ian-lin-max

any update

dungmv avatar Oct 02 '21 02:10 dungmv