You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2018/03/13 07:42:46 UTC
[kafka] branch trunk updated: MINOR: Streams doc example should not
close store (#4667)
This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 0c00aa0 MINOR: Streams doc example should not close store (#4667)
0c00aa0 is described below
commit 0c00aa0983f963dae18232ca539cc0731f228c70
Author: Matthias J. Sax <mj...@apache.org>
AuthorDate: Tue Mar 13 00:42:40 2018 -0700
MINOR: Streams doc example should not close store (#4667)
Author: Matthias J. Sax <ma...@confluent.io>
Reviewers: Bill Bejeck <bi...@confluent.io>, Guozhang Wang <gu...@confluent.io>
---
docs/streams/developer-guide/processor-api.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/streams/developer-guide/processor-api.html b/docs/streams/developer-guide/processor-api.html
index 6719ad1..fdf6c86 100644
--- a/docs/streams/developer-guide/processor-api.html
+++ b/docs/streams/developer-guide/processor-api.html
@@ -140,8 +140,8 @@
<span class="nd">@Override</span>
<span class="kd">public</span> <span class="kt">void</span> <span class="nf">close</span><span class="o">()</span> <span class="o">{</span>
- <span class="c1">// close the key-value store</span>
- <span class="n">kvStore</span><span class="o">.</span><span class="na">close</span><span class="o">();</span>
+ <span class="c1">// close any resources managed by this processor</span>
+ <span class="c1">// Note: Do not close any StateStores as these are managed by the library</span>
<span class="o">}</span>
<span class="o">}</span>
--
To stop receiving notification emails like this one, please contact
mjsax@apache.org.