Skip to content

Commit

Permalink
MINOR: Update config/consumer.properties to have new consumer prope…
Browse files Browse the repository at this point in the history
…rties

Author: Manikumar Reddy <[email protected]>

Reviewers: Ismael Juma <[email protected]>

Closes apache#4055 from omkreddy/update-consumer-props
  • Loading branch information
omkreddy authored and ijuma committed Oct 12, 2017
1 parent f8ffb67 commit 76a45e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
19 changes: 8 additions & 11 deletions config/consumer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion config/producer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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 #############################

Expand Down
1 change: 1 addition & 0 deletions docs/upgrade.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ <h5><a id="upgrade_100_notable" href="#upgrade_100_notable">Notable changes in 1
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>
Expand Down

0 comments on commit 76a45e0

Please sign in to comment.