From 03cebdaeb59f516c4369d58f540d0e3b735c1f06 Mon Sep 17 00:00:00 2001 From: Petr Michalec Date: Wed, 17 May 2017 16:19:15 +0200 Subject: [PATCH] config_options_from_fuel_contrail_plugin Change-Id: I3a3ecd1162abbb0fb26a22e508e0eb03f29e6324 --- opencontrail/files/3.0/server.properties | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/opencontrail/files/3.0/server.properties b/opencontrail/files/3.0/server.properties index 5cdaee6..3146d79 100644 --- a/opencontrail/files/3.0/server.properties +++ b/opencontrail/files/3.0/server.properties @@ -63,7 +63,7 @@ log.dirs=/tmp/kafka-logs # The default number of log partitions per topic. More partitions allow greater # parallelism for consumption, but this will also result in more files across # the brokers. -num.partitions=1 +num.partitions=30 # The number of threads per data directory to be used for log recovery at startup and flushing at shutdown. # This value is recommended to be increased for installations with data dirs located in RAID array. @@ -118,5 +118,15 @@ log.retention.check.interval.ms=300000 zookeeper.connect={% for member in database.members %}{{ member.host }}:2181{% if not loop.last %},{% endif %}{% endfor %} # Timeout in ms for connecting to zookeeper -log.cleanup.policy=compact +zookeeper.connection.timeout.ms=6000 + +# By default the log cleaner is disabled and the log retention policy will default to just delete segments after their retention expires. +# 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=true +log.cleanup.policy=delete +log.cleaner.threads=2 +log.cleaner.dedupe.buffer.size=250000000 + +#The default cleanup policy for segments beyond the retention window, must be either "delete" or "compact" delete.topic.enable=true +