Browse Source

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

Author: Manikumar Reddy <manikumar.reddy@gmail.com>

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

Closes #4055 from omkreddy/update-consumer-props
pull/4067/head
Manikumar Reddy 7 years ago committed by Ismael Juma
parent
commit
76a45e0dce
  1. 19
      config/consumer.properties
  2. 2
      config/producer.properties
  3. 1
      docs/upgrade.html

19
config/consumer.properties

@ -12,18 +12,15 @@ @@ -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=

2
config/producer.properties

@ -12,7 +12,7 @@ @@ -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 #############################

1
docs/upgrade.html

@ -90,6 +90,7 @@ @@ -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>

Loading…
Cancel
Save