Closed vtolstov closed 4 months ago
This is where you should be using instance IDs, rather than a standard member.
Are you intending to try to restart your application quickly, plug back in the prior member ID, and avoid any rebalance? This really is exactly what instance IDs were introduced for, although they can be a bit cumbersome because it requires manual intervention to actually leave a group. Do instance IDs not suffice?
how i can use InstanceID ? does it possible to assign it from client opt ?
Yep, https://pkg.go.dev/github.com/twmb/franz-go/pkg/kgo#InstanceID
Since InstanceID should solve this, I'll close the issue now.
I'm already have service id (uuid) and want to stick with it id in consumer group. What do you think?