kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mj...@apache.org
Subject [kafka] branch 0.11.0 updated: MINOR: StreamsConfig `upgrade.from` should not be in list of deprecated configs (#4780)
Date Tue, 27 Mar 2018 20:46:11 GMT
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 <mjsax@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 <bill@confluent.io>, John Roesler <john@confluent.io>,
Guozhang Wang <guozhang@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.

Mime
View raw message