You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2017/10/12 13:29:05 UTC

kafka git commit: MINOR: Update `config/consumer.properties` to have new consumer properties

Repository: kafka
Updated Branches:
  refs/heads/trunk f8ffb67ad -> 76a45e0dc


MINOR: Update `config/consumer.properties` to have new consumer properties

Author: Manikumar Reddy <ma...@gmail.com>

Reviewers: Ismael Juma <is...@juma.me.uk>

Closes #4055 from omkreddy/update-consumer-props


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

Branch: refs/heads/trunk
Commit: 76a45e0dceb256a8bd46867ad3127d99716b4f64
Parents: f8ffb67
Author: Manikumar Reddy <ma...@gmail.com>
Authored: Thu Oct 12 14:28:55 2017 +0100
Committer: Ismael Juma <is...@juma.me.uk>
Committed: Thu Oct 12 14:28:55 2017 +0100

----------------------------------------------------------------------
 config/consumer.properties | 19 ++++++++-----------
 config/producer.properties |  2 +-
 docs/upgrade.html          |  1 +
 3 files changed, 10 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/76a45e0d/config/consumer.properties
----------------------------------------------------------------------
diff --git a/config/consumer.properties b/config/consumer.properties
index 83847de..01bb12e 100644
--- a/config/consumer.properties
+++ b/config/consumer.properties
@@ -12,18 +12,15 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-# see kafka.consumer.ConsumerConfig for more details
+# see org.apache.kafka.clients.consumer.ConsumerConfig for more details
 
-# Zookeeper connection string
-# comma separated host:port pairs, each corresponding to a zk
-# server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002"
-zookeeper.connect=127.0.0.1:2181
+# list of brokers used for bootstrapping knowledge about the rest of the cluster
+# format: host1:port1,host2:port2 ...
+bootstrap.servers=localhost:9092
 
-# timeout in ms for connecting to zookeeper
-zookeeper.connection.timeout.ms=6000
-
-#consumer group id
+# consumer group id
 group.id=test-consumer-group
 
-#consumer timeout
-#consumer.timeout.ms=5000
+# What to do when there is no initial offset in Kafka or if the current
+# offset does not exist any more on the server: latest, earliest, none
+#auto.offset.reset=

http://git-wip-us.apache.org/repos/asf/kafka/blob/76a45e0d/config/producer.properties
----------------------------------------------------------------------
diff --git a/config/producer.properties b/config/producer.properties
index fcd745c..8833ea2 100644
--- a/config/producer.properties
+++ b/config/producer.properties
@@ -12,7 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-# see kafka.producer.ProducerConfig for more details
+# see org.apache.kafka.clients.producer for more details
 
 ############################# Producer Basics #############################
 

http://git-wip-us.apache.org/repos/asf/kafka/blob/76a45e0d/docs/upgrade.html
----------------------------------------------------------------------
diff --git a/docs/upgrade.html b/docs/upgrade.html
index 862dadb..f5380e8 100644
--- a/docs/upgrade.html
+++ b/docs/upgrade.html
@@ -90,6 +90,7 @@
         will return TOPIC_AUTHORIZATION_FAILED errors to requests irrespective of topic existence on broker.
         If the user have required permissions and the topic doesn't exists, then the UNKNOWN_TOPIC_OR_PARTITION
         error code will be returned. </li>
+    <li>config/consumer.properties file updated to use new consumer config properties.</li>
 </ul>
 
 <h5><a id="upgrade_100_new_protocols" href="#upgrade_100_new_protocols">New Protocol Versions</a></h5>