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/03/27 20:46:11 UTC

[kafka] branch 0.11.0 updated: MINOR: StreamsConfig `upgrade.from` should not be in list of deprecated configs (#4780)

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

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


The following commit(s) were added to refs/heads/0.11.0 by this push:
     new 88da81b  MINOR: StreamsConfig `upgrade.from` should not be in list of deprecated configs (#4780)
88da81b is described below

commit 88da81b9454183955f34b822588f0f1ee7e9dcae
Author: Matthias J. Sax <mj...@apache.org>
AuthorDate: Tue Mar 27 13:46:08 2018 -0700

    MINOR: StreamsConfig `upgrade.from` should not be in list of deprecated configs (#4780)
    
    Reviewers: Bill Bejeck <bi...@confluent.io>, John Roesler <jo...@confluent.io>, Guozhang Wang <gu...@confluent.io>
---
 .../main/java/org/apache/kafka/streams/StreamsConfig.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java b/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java
index d45b135..20d946d 100644
--- a/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java
+++ b/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java
@@ -458,6 +458,12 @@ public class StreamsConfig extends AbstractConfig {
                     10 * 60 * 1000,
                     Importance.LOW,
                     STATE_CLEANUP_DELAY_MS_DOC)
+            .define(UPGRADE_FROM_CONFIG,
+                    ConfigDef.Type.STRING,
+                    null,
+                    in(null, UPGRADE_FROM_0100),
+                    Importance.LOW,
+                    UPGRADE_FROM_DOC)
             .define(WINDOW_STORE_CHANGE_LOG_ADDITIONAL_RETENTION_MS_CONFIG,
                     Type.LONG,
                     24 * 60 * 60 * 1000,
@@ -476,12 +482,6 @@ public class StreamsConfig extends AbstractConfig {
                     null,
                     Importance.LOW,
                     TIMESTAMP_EXTRACTOR_CLASS_DOC)
-            .define(UPGRADE_FROM_CONFIG,
-                    ConfigDef.Type.STRING,
-                    null,
-                    in(null, UPGRADE_FROM_0100),
-                    Importance.LOW,
-                    UPGRADE_FROM_DOC)
             .define(VALUE_SERDE_CLASS_CONFIG,
                     Type.CLASS,
                     null,

-- 
To stop receiving notification emails like this one, please contact
mjsax@apache.org.