Skip to content

Commit

Permalink
add log cleaner properties to kafka configs (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisingal authored Dec 29, 2022
1 parent e566c14 commit 3a090ef
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,15 @@ data:
replication.quota.window.size.seconds={{ int .Values.config.replicationQuotaWindowSizeSeconds }}
{{- end }}
{{- if .Values.config.logCleanerThreads }}
# The number of background threads to use for log cleaning
log.cleaner.threads={{ int .Values.config.logCleanerThreads }}
{{- end }}
{{- if .Values.config.logCleanerDeleteRetentionMs }}
# The amount of time to retain delete tombstone markers for log compacted topics.
log.cleaner.delete.retention.ms={{ int .Values.config.logCleanerDeleteRetentionMs }}
{{- end }}
log4j.properties: |+
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
Expand Down
4 changes: 3 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ config:
deleteTopicEnable: true
groupInitialRebalanceDelayMs: 3000
interBrokerListenerName: PLAINTEXT
interBrokerProtocolVersion: "2.6"
interBrokerProtocolVersion: "3.2"
logCleanerDeleteRetentionMs: ""
logCleanerThreads: ""
logDirs: /var/lib/kafka/data/topics
logFlushIntervalMessages: ""
logFlushIntervalMs: ""
Expand Down

0 comments on commit 3a090ef

Please sign in to comment.