segmentio / kafka-go

Kafka library in Go
MIT License
7.65k stars 792 forks source link

Consumer Name / Client ID - Not Updating after Initial Create #437

Open steve-gray opened 4 years ago

steve-gray commented 4 years ago

Describe the solution you'd like When using consumer groups, it appears that the consumer name is not set dynamically. Specifically:

The trouble is that in a complex environment, as consumer groups get rebalanced, you generally don't want this - you want to know which server is holding the partition that stalled processing, so you can restart or investigate. To that end, the feature request is:

In other consumers, the ID associated with each partition in a group would update each time the consumers rebalanced.

achille-roussel commented 4 years ago

Hello @steve-gray, thanks for opening the issue.

It seems that you have a good understanding of the issue, would you be available to submit a fix?

achille-roussel commented 3 years ago

We should still implement a fix for this issue.