-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kt group
doesn't show consumer groups for Kafka v0.10.0.1
#56
Comments
hey Nic! the only reason (that i remember) why kt would hide an "offset" is that it comes back as the value that indicates that it wasn't marked yet (sarama.OffsetNewest, i think?). but i'm guessing your test rules that out? did you test with different server versions vs sarama versions? should find some time in the next days to look a bit closer, but time and internet is still a bit rare at the moment. |
Yup, that's not the case here.
Tested with 0.10.0.1 and 0.10.1.0, latest Sarama
I've tried that and it doesn't make a difference unfortunately. Interestingly I just found out today that resetting the offset works for my group, even though it doesn't appear when listing groups! |
hey @nmaquet ! could you post (or email me privately) the result of
? the commands failed for me when i didn't specify v0.10.0.1, but with a specified version i got the expected results. the |
hey @nmaquet again :) i think you ran into (at least?) one of these issues:
i addressed both in #58: kt now provides feedback on supported kafka versions and doesn't hide the -1 one offsets. could you run closing for now - please re-open if the issue isn't resolved after an update :) |
Hey Felix :)
We'd like to use
kt group
to view and manipulate offsets, however the command doesn't show any of our groups on Kafka v0.10.0.1I've tested the exact same consumer code on Kafka 0.10.1.0 and in that case
kt group
shows the consumer groups as expected.Note that we use
sarama
to create the consumer and mark offsets directly usingsarama.PartitionOffsetManager.MarkOffset
. We're not usingsarama-cluster
.Do you know any reason why
kt group
wouldn't show all consumer groups for Kafka versions older than 0.10.1.0?The text was updated successfully, but these errors were encountered: