This is an automated email from the ASF dual-hosted git repository.

mjsax pushed a commit to branch 1.1
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/1.1 by this push:
     new e35946a  MINOR: Streams doc example should not close store (#4667)
e35946a is described below

commit e35946a92bc6f1535741bfd6421082a370bf7bf5
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 <matth...@confluent.io>
    
    Reviewers: Bill Bejeck <b...@confluent.io>, Guozhang Wang 
<guozh...@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
mj...@apache.org.

Reply via email to