You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/02/28 11:35:49 UTC
[GitHub] [kafka] dengziming commented on pull request #11173: KAFKA-13509: Support max timestamp in GetOffsetShell
dengziming commented on pull request #11173:
URL: https://github.com/apache/kafka/pull/11173#issuecomment-1054166718
The latest commit rebased on the trunk and add support earliest, latest and max-timestamp for --time. I also test them locally:
```
bin/kafka-run-class.sh kafka.tools.GetOffsetShell ---bootstrap-server localhost:9092 --topic cdp-event-collect --time max-timestamp
cdp-event-collect:0:9866
bin/kafka-run-class.sh kafka.tools.GetOffsetShell ---bootstrap-server localhost:9092 --topic cdp-event-collect --time latest
cdp-event-collect:0:10000
bin/kafka-run-class.sh kafka.tools.GetOffsetShell ---bootstrap-server localhost:9092 --topic cdp-event-collect --time earliest
cdp-event-collect:0:0
```
ping @dajac @showuon to have a look.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org