Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IDOptionArgumentsDescriptionExamples
1.Plan(no execution arguments)

This execution option will only print out the result of the scenario by scope.

The output will look like this:

TOPIC                 PARTITION CURRENT-OFFSET CURRENT-LAG NEW-OFFSET NEW-LAG LOG-END-OFFSET CONSUMER-ID HOST CLIENT-ID
foo 0 100 0 90 10 100 - - -

Prints result of resetting all topics and partitions to earliest:

--reset-offsets --group test.group --all-topics –to-earliest

2.Execute--executeThis execution option will run the reset offset process based on scenario and scope.

Prints and execute resetting all topics and partitions to earliest:

--reset-offsets --group test.group --all-topics –to-earliest --execute

3.Export--exportThis execution option will print out the reset plan in CSV format, that later could be used in the scenario 8. (i.e. as backup)

Prints plan for resetting all topics and partitions to earliest in CSV format:

--reset-offsets --group test.group --all-topics –to-earliest --export

Execute and Prints plan for resetting all topics and partitions to earliest in CSV format:

--reset-offsets --group test.group --all-topics –to-earliest --export --execute

...