kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: add upgrade note for KIP-173 topic configs
Date Thu, 21 Sep 2017 10:19:49 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk a2da064cb -> f29391c49


MINOR: add upgrade note for KIP-173 topic configs

Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3921 from dguy/minor-kip-173-docs


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/f29391c4
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/f29391c4
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/f29391c4

Branch: refs/heads/trunk
Commit: f29391c4902699939cc621b2313f06fce5440691
Parents: a2da064
Author: Damian Guy <damian.guy@gmail.com>
Authored: Thu Sep 21 18:19:24 2017 +0800
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Thu Sep 21 18:19:24 2017 +0800

----------------------------------------------------------------------
 docs/streams/upgrade-guide.html | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/f29391c4/docs/streams/upgrade-guide.html
----------------------------------------------------------------------
diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html
index c4ae54f..c90024f 100644
--- a/docs/streams/upgrade-guide.html
+++ b/docs/streams/upgrade-guide.html
@@ -118,7 +118,6 @@
             Note: the previous aggregate functions on <code>KGroupedStream</code>
still work, but have been deprecated.
         </li>
     </ul>
-
     <p>
         Modified methods in <code>Processor</code>:
     </p>
@@ -149,6 +148,16 @@
         Detailed metrics sensor can be found in the <a href="#kafka_streams_monitoring">Streams
Monitoring</a> section.
     </p>
 
+    <p>
+        The introduction of <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-173%3A+Add+prefix+to+StreamsConfig+to+enable+setting+default+internal+topic+configs">KIP-173</a>
+        enables you to provide topic configuration parameters for any topics created by Kafka
Streams.
+        This includes repartition and changelog topics.
+        You can provide the configs via the <code>StreamsConfig</code> by adding
the configs with the prefix as defined by <code>StreamsConfig#topicPrefix(String)</code>.
+        Any properties in the <code>StreamsConfig</code> with the prefix will
be applied when creating internal topics.
+        Any configs that aren't topic configs will be ignored.
+        If you already use <code>StateStoreSupplier</code> or <code>Materialized</code>
to provide configs for changelogs, then they will take precedence over those supplied in the
config.
+    </p>
+
     <h3><a id="streams_api_changes_0110" href="#streams_api_changes_0110">Streams
API changes in 0.11.0.0</a></h3>
 
     <p> Updates in <code>StreamsConfig</code>: </p>


Mime
View raw message