Not sure I understand the tag "not-a-charm". Can you explain? This is a bug
in the charm to deploy Kafka, not a bug in Kafka.
Thx,
Samuel
Best,
Samuel
--
Samuel Cozannet
Cloud, Big Data and IoT Strategy Team
Strategic Program Manager
Changing the Future of Cloud
Ubuntu <http://ubuntu.com> / Canonical <http://canonical.com> UK LTD
<email address hidden>
+33 616 702 389
On Mon, Dec 8, 2014 at 4:56 PM, Whit Morriss <email address hidden>
wrote:
> ** Tags added: not-a-charm
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1396610
>
> Title:
> Improvements to the default configuration of Kafka
>
> Status in Juju Charms:
> In Progress
>
> Bug description:
> By default, Kafka will not enable the log cleaner. This means that in
> a production environment the log output from Kafka will consume all
> storage space after a while.
>
> This while depends very much on the workload Kafka is used for. If it
> is fast paced (as we expect from Kafka) this can be a few hours.
>
> From a "security" / "charm acceptance" PoV, a secure opinionated
> deployment may use the below settings for
> /opt/kafka/server.properties:
>
>
> # The minimum age of a log file to be eligible for deletion
> # DEFAULT: log.retention.hours=168
> log.retention.hours=24
>
> # A size-based retention policy for logs. Segments are pruned from the
> log as long as the remaining
> # segments don't drop below log.retention.bytes.
> # DEFAULT: log.retention.bytes=1073741824
> log.retention.bytes=33554432
>
>
> # The maximum size of a log segment file. When this size is reached a
> new log segment will be created.
> # DEFAULT: log.segment.bytes=536870912
> log.segment.bytes=8388608
>
>
> # The interval at which log segments are checked to see if they can be
> deleted according
> # to the retention policies
> log.retention.check.interval.ms=60000
>
>
> # 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.
> # DEFAULT : log.cleaner.enable=false
> log.cleaner.enable=true
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/charms/+bug/1396610/+subscriptions
>
Not sure I understand the tag "not-a-charm". Can you explain? This is a bug
in the charm to deploy Kafka, not a bug in Kafka.
Thx,
Samuel
Best,
Samuel
-- ubuntu. com> / Canonical <http:// canonical. com> UK LTD
Samuel Cozannet
Cloud, Big Data and IoT Strategy Team
Strategic Program Manager
Changing the Future of Cloud
Ubuntu <http://
<email address hidden>
+33 616 702 389
On Mon, Dec 8, 2014 at 4:56 PM, Whit Morriss <email address hidden>
wrote:
> ** Tags added: not-a-charm /bugs.launchpad .net/bugs/ 1396610 server. properties: hours=168 hours=24 bytes. bytes=107374182 4 bytes=33554432 bytes=536870912 bytes=8388608 check.interval. ms=60000 enable= true is set the cleaner will be enabled and enable= false enable= true /bugs.launchpad .net/charms/ +bug/1396610/ +subscriptions
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Improvements to the default configuration of Kafka
>
> Status in Juju Charms:
> In Progress
>
> Bug description:
> By default, Kafka will not enable the log cleaner. This means that in
> a production environment the log output from Kafka will consume all
> storage space after a while.
>
> This while depends very much on the workload Kafka is used for. If it
> is fast paced (as we expect from Kafka) this can be a few hours.
>
> From a "security" / "charm acceptance" PoV, a secure opinionated
> deployment may use the below settings for
> /opt/kafka/
>
>
> # The minimum age of a log file to be eligible for deletion
> # DEFAULT: log.retention.
> log.retention.
>
> # A size-based retention policy for logs. Segments are pruned from the
> log as long as the remaining
> # segments don't drop below log.retention.
> # DEFAULT: log.retention.
> log.retention.
>
>
> # The maximum size of a log segment file. When this size is reached a
> new log segment will be created.
> # DEFAULT: log.segment.
> log.segment.
>
>
> # The interval at which log segments are checked to see if they can be
> deleted according
> # to the retention policies
> log.retention.
>
>
> # 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.
> individual logs can then be marked for log compaction.
> # DEFAULT : log.cleaner.
> log.cleaner.
>
> To manage notifications about this bug go to:
> https:/
>