You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2017/09/21 10:19:49 UTC

kafka git commit: MINOR: add upgrade note for KIP-173 topic configs

Repository: kafka
Updated Branches:
  refs/heads/trunk a2da064cb -> f29391c49


MINOR: add upgrade note for KIP-173 topic configs

Author: Damian Guy <da...@gmail.com>

Reviewers: Matthias J. Sax <ma...@confluent.io>, Guozhang Wang <wa...@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 <da...@gmail.com>
Authored: Thu Sep 21 18:19:24 2017 +0800
Committer: Guozhang Wang <wa...@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>