segmentio / topicctl

Tool for declarative management of Kafka topics
MIT License
580 stars 54 forks source link

Dp 1495 reset offsets command for multiple partitions at once #146

Closed amortezaei closed 1 year ago

amortezaei commented 1 year ago

tested locally with the following setup:

p1-------------->[topic-1] [cg1]__> c1 [cg2]__>c2 ____>c3

p2-------------->[topic-2] [cg3]__>c4 ____>c5

this change adds the option --partition-offset-map to the reset-offsets command which allows the use to set multiple offsets for a list of partitions simultaneously in the following manner:

--partition-offset-map =,=,....

petedannemann commented 1 year ago

Should we update the reset-offsets section of the README as well?