diff --git a/docs/streams/developer-guide/app-reset-tool.html b/docs/streams/developer-guide/app-reset-tool.html index 096d37a747ca8..d6979bee986ad 100644 --- a/docs/streams/developer-guide/app-reset-tool.html +++ b/docs/streams/developer-guide/app-reset-tool.html @@ -40,7 +40,7 @@ when resetting the application.

Here’s what the application reset tool does for each topic type:

@@ -87,12 +87,16 @@

Step 1: Run the application reset tool(default: localhost:9092) +--by-duration <String: urls> Reset offsets to offset by duration from + current timestamp. Format: 'PnDTnHnMnS' --config-file <String: file name> Property file containing configs to be passed to admin clients and embedded consumer. --dry-run Display the actions that would be performed without executing the reset commands. +--from-file <String: urls> Reset offsets to values defined in CSV + file. --input-topics <String: list> Comma-separated list of user input topics. For these topics, the tool will reset the offset to the earliest @@ -101,13 +105,32 @@

Step 1: Run the application reset tool(topics used in the through() method). For these topics, the tool will skip to the end. +--shift-by <Long: number-of-offsets> Reset offsets shifting current offset by + 'n', where 'n' can be positive or + negative +--to-datetime <String> Reset offsets to offset from datetime. + Format: 'YYYY-MM-DDTHH:mm:SS.sss' +--to-earliest Reset offsets to earliest offset. +--to-latest Reset offsets to latest offset. +--to-offset <Long> Reset offsets to a specific offset. --zookeeper Zookeeper option is deprecated by bootstrap.servers, as the reset tool would no longer access Zookeeper directly. -

Parameters can be combined as needed. For example, if you want to restart an application from an +

Consider the following as reset-offset scenarios for input-topics:

+
    +
  • by-duration
  • +
  • from-file
  • +
  • shift-by
  • +
  • to-datetime
  • +
  • to-earliest
  • +
  • to-latest
  • +
  • to-offset
  • +
+

Only one of these scenarios can be defined. If not, to-earliest will be executed by default

+

All the other parameters can be combined as needed. For example, if you want to restart an application from an empty internal state, but not reprocess previous data, simply omit the parameters --input-topics and --intermediate-topics.

diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html index b218ba853b6ea..51e8d914fca26 100644 --- a/docs/streams/upgrade-guide.html +++ b/docs/streams/upgrade-guide.html @@ -77,6 +77,11 @@

Streams API
  • changing which implementation is used can be done by settings default.production.exception.handler to the fully qualified name of a class implementing this interface.
  • +

    Changes in StreamsResetter:

    +
    +

    Streams API changes in 1.0.0