kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mj...@apache.org
Subject [kafka] branch 1.0 updated: MINOR: Streams doc example should not close store (#4667)
Date Tue, 13 Mar 2018 07:44:36 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 6da326f8ddec80f7c5eabb1e24d1621596e66520
Author: Matthias J. Sax <mjsax@apache.org>
AuthorDate: Tue Mar 13 00:42:40 2018 -0700

    MINOR: Streams doc example should not close store (#4667)
    
    Author: Matthias J. Sax <matthias@confluent.io>
    
    Reviewers: Bill Bejeck <bill@confluent.io>, Guozhang Wang <guozhang@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.

Mime
View raw message