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/10/23 23:48:16 UTC

[kafka] branch 2.1 updated: MINOR: fix docs typo (#5827)

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

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


The following commit(s) were added to refs/heads/2.1 by this push:
     new d32149a  MINOR: fix docs typo (#5827)
d32149a is described below

commit d32149a64649121a2a3065cc8b800917c59aee93
Author: Matthias J. Sax <mj...@apache.org>
AuthorDate: Tue Oct 23 16:47:06 2018 -0700

    MINOR: fix docs typo (#5827)
    
    Reviewers: Bill Bejeck <bi...@confluent.io>, John Roesler <jo...@confluent.io>
---
 docs/streams/upgrade-guide.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html
index e79b106..7fecfeb 100644
--- a/docs/streams/upgrade-guide.html
+++ b/docs/streams/upgrade-guide.html
@@ -112,14 +112,14 @@
     </p>
 
     <p>
-        We updated a list of methods that take <code>long</long> arguments as either timestamp (fix point) or duration (time period)
+        We updated a list of methods that take <code>long</code> arguments as either timestamp (fix point) or duration (time period)
         and replaced them with <code>Instant</code> and <code>Duration</code> parameters for improved semantics.
         Some old methods base on <code>long</code> are deprecated and users are encouraged to update their code.
         <br />
         In particular, aggregation windows (hopping/tumbling/unlimited time windows and session windows) as well as join windows now take <code>Duration</code>
         arguments to specify window size, hop, and gap parameters.
         Also, window sizes and retention times are now specified as <code>Duration</code> type in <code>Stores</code> class.
-        The <code>Window</code> class has new methods <code>#startTime()</code> and <code>#endTime</code> that return window start/end timestamp as <code>Instant</code>.
+        The <code>Window</code> class has new methods <code>#startTime()</code> and <code>#endTime()</code> that return window start/end timestamp as <code>Instant</code>.
         For interactive queries, there are new <code>#fetch(...)</code> overloads taking <code>Instant</code> arguments.
         Additionally, punctuations are now registerd via <code>ProcessorContext#schedule(Duration interval, ...)</code>.
         For more details, see <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-358%3A+Migrate+Streams+API+to+Duration+instead+of+long+ms+times">KIP-358</a>.
@@ -127,7 +127,7 @@
 
     <p>
         We deprecated <code>KafkaStreams#close(...)</code> and replaced it with <code>KafkaStreams#close(Duration)</code> that accepts a single timeout argument
-        Note: the new <code>#close</code> method has improved (but slightly different) semantics than the old one.
+        Note: the new <code>#close(Duration)</code> method has improved (but slightly different) semantics.
         For more details, see <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-358%3A+Migrate+Streams+API+to+Duration+instead+of+long+ms+times">KIP-358</a>.
     </p>