You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/streams/developer-guide/app-reset-tool.html
+3-7
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@
45
45
</ul>
46
46
<p>The application reset tool does not:</p>
47
47
<ulclass="simple">
48
-
<li>Reset output topics of an application. If any output (or intermediate) topics are consumed by downstream
48
+
<li>Reset output topics of an application. If any output topics are consumed by downstream
49
49
applications, it is your responsibility to adjust those downstream applications as appropriate when you reset the
50
50
upstream application.</li>
51
51
<li>Reset the local environment of your application instances. It is your responsibility to delete the local
@@ -78,9 +78,6 @@ <h2>Step 1: Run the application reset tool<a class="headerlink" href="#step-1-ru
78
78
(s) to connect to. The broker list
79
79
string in the form HOST1:PORT1,HOST2:
80
80
PORT2.
81
-
--bootstrap-servers <String: urls> DEPRECATED: Comma-separated list of
82
-
broker urls with format: HOST1:PORT1,
83
-
HOST2:PORT2 (default: localhost:9092)
84
81
--by-duration <String: urls> Reset offsets to offset by duration from
85
82
current timestamp. Format: 'PnDTnHnMnS'
86
83
--config-file <String: file name> Property file containing configs to be
@@ -123,8 +120,7 @@ <h2>Step 1: Run the application reset tool<a class="headerlink" href="#step-1-ru
123
120
</ul>
124
121
<p>Only one of these scenarios can be defined. If not, <code>to-earliest</code> will be executed by default</p>
125
122
<p>All the other parameters can be combined as needed. For example, if you want to restart an application from an
126
-
empty internal state, but not reprocess previous data, simply omit the parameters <codeclass="docutils literal"><spanclass="pre">--input-topics</span></code> and
empty internal state, but not reprocess previous data, simply omit the parameter <codeclass="docutils literal"><spanclass="pre">--input-topics</span></code>.
<spanid="streams-developer-guide-reset-local-environment"></span><h2>Step 2: Reset the local environments of your application instances<aclass="headerlink"href="#step-2-reset-the-local-environments-of-your-application-instances"title="Permalink to this headline"></a></h2>
@@ -133,7 +129,7 @@ <h2>Step 1: Run the application reset tool<a class="headerlink" href="#step-1-ru
133
129
use either of these methods:</p>
134
130
<ulclass="simple">
135
131
<li>The API method <codeclass="docutils literal"><spanclass="pre">KafkaStreams#cleanUp()</span></code> in your application code.</li>
136
-
<li>Manually delete the corresponding local state directory (default location: <codeclass="docutils literal"><spanclass="pre">/tmp/kafka-streams/<application.id></span></code>). For more information, see <ahref="/{{version}}/javadoc/org/apache/kafka/streams/StreamsConfig.html#STATE_DIR_CONFIG">Streams</a> javadocs.</li>
132
+
<li>Manually delete the corresponding local state directory (default location: <codeclass="docutils literal"><spanclass="pre">/${java.io.tmpdir}/kafka-streams/<application.id></span></code>). For more information, see <ahref="/{{version}}/javadoc/org/apache/kafka/streams/StreamsConfig.html#STATE_DIR_CONFIG">Streams</a> javadocs.</li>
0 commit comments