wayne-x-wang opened a new pull request, #24316: URL: https://github.com/apache/kafka/pull/24316
When describeConsumerGroups cannot find a group ID, kafka-consumer-groups.sh --reset-offsets treats the group as eligible for offset initialization. An existing Streams group can take this path after its application shuts down, allowing --execute to overwrite its committed offsets. Check unresolved IDs with describeStreamsGroups before preparing a reset. If the broker does not support that operation, use an unfiltered listGroups request to identify Streams groups. Report the appropriate CLI for Streams groups and preserve offset initialization for genuinely missing groups. Add a regression test that stops a Streams application after it commits offset 10, attempts to reset the partition to 5 with the consumer group CLI, and verifies that the committed offset stays at 10. Unit tests cover the compatibility fallback and lookup failures. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
