[ 
https://issues.apache.org/jira/browse/KAFKA-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570746#comment-16570746
 ] 

ASF GitHub Bot commented on KAFKA-7252:
---------------------------------------

guozhangwang closed pull request #5465: KAFKA-7252: fix Streams docs state.dir
URL: https://github.com/apache/kafka/pull/5465
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/streams/developer-guide/config-streams.html 
b/docs/streams/developer-guide/config-streams.html
index 5f9834b654c..75f1045de14 100644
--- a/docs/streams/developer-guide/config-streams.html
+++ b/docs/streams/developer-guide/config-streams.html
@@ -277,7 +277,7 @@ <h4><a class="toc-backref" 
href="#id5">bootstrap.servers</a><a class="headerlink
           <tr class="row-even"><td>state.dir</td>
             <td>High</td>
             <td colspan="2">Directory location for state stores.</td>
-            <td><code class="docutils literal"><span 
class="pre">/var/lib/kafka-streams</span></code></td>
+            <td><code class="docutils literal"><span 
class="pre">/tmp/kafka-streams</span></code></td>
           </tr>
           <tr class="row-odd"><td>timestamp.extractor</td>
             <td>Medium</td>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Default value for 'state.dir' is incorrect in the docs
> ------------------------------------------------------
>
>                 Key: KAFKA-7252
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7252
>             Project: Kafka
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 0.11.0.0, 1.0.0
>            Reporter: Brett Harper
>            Assignee: Matthias J. Sax
>            Priority: Trivial
>
> The default value for 'state.dir' in a Kafka Streams application does not 
> match what is specified in the Streams Developer Guide. 
> The default value specified in code is "/tmp/kafka-streams" according to the 
> StreamsConfig class, but the documentation specifies it as 
> "/var/lib/kafka-streams".
> [https://kafka.apache.org/10/documentation/streams/developer-guide/config-streams#optional-configuration-parameters]
> This affects versions 0.11.0 and 1.0.0, and possibly others as well. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to