You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Across the various librdkafka github repositories there are issues relating to the usage of assign without a valid group (librdkafka, older librdkafka, node-rdkafka etc). A quick summary:
librdkafka requires a group.id to be set in order to call assign (unlike the JVM client)
If you correctly configure the consumer, it will not attempt to do anything requiring this group.id in communications (rebalancing, offset committing etc.).
Therefore, the group.id can be set to a random string and just calling assign and seek etc. should be fine.
However in the Rust crate I am getting errors for GroupAuthorizationFailed. Here's some example code:
Even at this point with no assign call, I can see in the debug logs for the consumer that it is already seeing GroupAuthorizationFailed in one of the threads. When I call assign and then recv I get an actual Error. In order to verify the behaviour, I set up consumer group that I am authorised on and the above works (with group.id appropriately modified) and I am able to consume in those circumstances.
I'm guessing this is me messing up the config, or it's a bug in the way the consumer is set up. Would really appreciate any input. It so happens I can work around this for now because of some infrastructure my team has in place, but the application I'm writing is aimed to be deployed outside of this infrastructure in the future and this will block that happening if we can't find a fix.
Version 0.36.2
The text was updated successfully, but these errors were encountered:
Across the various librdkafka github repositories there are issues relating to the usage of assign without a valid group (librdkafka, older librdkafka, node-rdkafka etc). A quick summary:
assign
(unlike the JVM client)assign
andseek
etc. should be fine.However in the Rust crate I am getting errors for GroupAuthorizationFailed. Here's some example code:
Even at this point with no assign call, I can see in the debug logs for the consumer that it is already seeing GroupAuthorizationFailed in one of the threads. When I call
assign
and thenrecv
I get an actual Error. In order to verify the behaviour, I set up consumer group that I am authorised on and the above works (with group.id appropriately modified) and I am able to consume in those circumstances.I'm guessing this is me messing up the config, or it's a bug in the way the consumer is set up. Would really appreciate any input. It so happens I can work around this for now because of some infrastructure my team has in place, but the application I'm writing is aimed to be deployed outside of this infrastructure in the future and this will block that happening if we can't find a fix.
Version 0.36.2
The text was updated successfully, but these errors were encountered: