console
console copied to clipboard
Add UI helpers for editing consumer group commits
A common use case I find myself doing is to change a consumer groups offset by a numeric amount, typically --shift-by 1
and I'd like Kowl to add support.
For example, say we see a corrupt message on a topic & need to bump a consumer past it, we would issue the following...
/opt/kafka/bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group {group} --reset-offsets --shift-by 1 --topic {topic}:{partition} --execute
I think this is already possible given that you can edit the offset as you wish - and you also see the current index for the group right? So is it safe to assume that this request is just some sugar so that you don't need to lookup the previous offset (which might be existent in the edit group modal already, not sure) and then increment that index by 1 to set it as a new offset?
Thanks for the speedy reply @weeco
I think this is already possible given that you can edit the offset as you wish
I'm obviously doing something wrong or missing something obvious, but I can only edit an offset with the following & not as you wish
?
- start offset
- end offset
- specific time
- other consumer group
I've clicked around and failing to find a place to manually change the offset in 1.5.0. Are you saying it's already possible to enter a value for an offset beyond the above options?
If there is indeed a way to manually change the offset to a specific value 🤞🏻 then this would indeed be syntatic sugar to allow a spinner to increase the offset #