oflebbe commented on a change in pull request #477: BIGTOP-3171. Update Kafka Puppet module for version 1.1.1 URL: https://github.com/apache/bigtop/pull/477#discussion_r257505260
########## File path: bigtop-deploy/puppet/modules/kafka/templates/server.properties ########## @@ -125,6 +125,15 @@ log.retention.check.interval.ms=60000 # If log.cleaner.enable=true is set the cleaner will be enabled and individual logs can then be marked for log compaction. log.cleaner.enable=false +# The replication factor for the offsets topic (set higher to ensure availability). +# Internal topic creation will fail until the cluster size meets this replication factor requirement. +<% if @offsets_topic_replication_factor.nil? -%> +# Set to 1 for less than 3 nodes deployment to work. +offsets.topic.replication.factor=1 +<% else -%> +offsets.topic.replication.factor=<%= @offsets_topic_replication_factor %> Review comment: All this stuff should be handled in init.pp IMO .The templating should boil down to `offsets.topic.replication.factor=<%= @offsets_topic_replication_factor %>` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
