chia7712 commented on code in PR #20867:
URL: https://github.com/apache/kafka/pull/20867#discussion_r2520631578
##########
docs/ops.html:
##########
@@ -262,6 +262,40 @@ <h4 class="anchor-heading"><a id="basic_ops_share_group"
class="anchor-link"></a
</li>
</ul>
+ <p>To reset the offsets of a share group, use the "--reset-offsets" option:
+
+ <p>
+ It has 2 execution options:
+ <ul>
+ <li>
+ --dry-run: to display which offsets to reset.
Review Comment:
Out of curiosity, it appears that the consumer and stream tools can perform
a dry run without explicit definition. While this is certainly undesirable
behaviour, should we align the behaviour across all these tools now and then
remove the explicit definition in 5.0?
https://github.com/apache/kafka/blob/f685d57f2cb1bcbedcf37d0e2e1cd577fb6ef594/tools/src/main/java/org/apache/kafka/tools/consumer/group/ConsumerGroupCommandOptions.java#L251
https://github.com/apache/kafka/blob/f685d57f2cb1bcbedcf37d0e2e1cd577fb6ef594/tools/src/main/java/org/apache/kafka/tools/streams/StreamsGroupCommandOptions.java#L273
--
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]