mirror of
https://github.com/bitnami/charts.git
synced 2026-08-09 12:55:41 +08:00
[bitnami/kafka] Add options to configure internal topics
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: kafka
|
||||
version: 1.8.2
|
||||
version: 1.9.0
|
||||
appVersion: 2.2.0
|
||||
description: Apache Kafka is a distributed streaming platform.
|
||||
keywords:
|
||||
|
||||
@@ -71,10 +71,13 @@ The following tables lists the configurable parameters of the Kafka chart and th
|
||||
| `logRetentionCheckIntervalMs` | The interval at which log segments are checked to see if they can be deleted. | `300000` |
|
||||
| `logRetentionHours` | The minimum age of a log file to be eligible for deletion due to age. | `168` |
|
||||
| `logSegmentBytes` | The maximum size of a log segment file. When this size is reached a new log segment will be created. | `_1073741824` |
|
||||
| `logMessageFormatVersion` | Logging message format version. | `` |
|
||||
| `logMessageFormatVersion` | Logging message format version. | `` |
|
||||
| `logsDirs` | A comma separated list of directories under which to store log files. | `/opt/bitnami/kafka/data` |
|
||||
| `maxMessageBytes` | The largest record batch size allowed by Kafka. | `1000012` |
|
||||
| `defaultReplicationFactor` | Default replication factors for automatically created topics | `1` |
|
||||
| `offsetsTopicReplicationFactor` | The replication factor for the offsets topic | `1` |
|
||||
| `transactionStateLogReplicationFactor `| The replication factor for the transaction topic | `1` |
|
||||
| `transactionStateLogMinIsr ` | Overridden min.insync.replicas config for the transaction topic | `1` |
|
||||
| `numIoThreads` | The number of threads doing disk I/O. | `8` |
|
||||
| `numNetworkThreads` | The number of threads handling network requests. | `3` |
|
||||
| `numPartitions` | The default number of log partitions per topic. | `1` |
|
||||
|
||||
@@ -166,6 +166,12 @@ spec:
|
||||
value: {{ .Values.logsDirs }}
|
||||
- name: KAFKA_DEFAULT_REPLICATION_FACTOR
|
||||
value: {{ .Values.defaultReplicationFactor | quote }}
|
||||
- name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR
|
||||
value: {{ .Values.offsetsTopicReplicationFactor | quote }}
|
||||
- name: KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR
|
||||
value: {{ .Values.transactionStateLogReplicationFactor | quote }}
|
||||
- name: KAFKA_TRANSACTION_STATE_LOG_MIN_ISR
|
||||
value: {{ .Values.transactionStateLogMinIsr | quote }}
|
||||
- name: KAFKA_NUM_IO_THREADS
|
||||
value: {{ .Values.numIoThreads | quote }}
|
||||
- name: KAFKA_NUM_NETWORK_THREADS
|
||||
|
||||
@@ -117,7 +117,16 @@ logsDirs: /opt/bitnami/kafka/data
|
||||
maxMessageBytes: _1000012
|
||||
|
||||
## Default replication factors for automatically created topics
|
||||
defaultReplicationFactor: 1
|
||||
defaultReplicationFactor: 3
|
||||
|
||||
## The replication factor for the offsets topic
|
||||
offsetsTopicReplicationFactor: 3
|
||||
|
||||
## The replication factor for the transaction topic
|
||||
transactionStateLogReplicationFactor: 3
|
||||
|
||||
## Overridden min.insync.replicas config for the transaction topic
|
||||
transactionStateLogMinIsr: 3
|
||||
|
||||
## The number of threads doing disk I/O.
|
||||
numIoThreads: 8
|
||||
|
||||
@@ -119,6 +119,15 @@ maxMessageBytes: _1000012
|
||||
## Default replication factors for automatically created topics
|
||||
defaultReplicationFactor: 1
|
||||
|
||||
## The replication factor for the offsets topic
|
||||
offsetsTopicReplicationFactor: 1
|
||||
|
||||
## The replication factor for the transaction topic
|
||||
transactionStateLogReplicationFactor: 1
|
||||
|
||||
## Overridden min.insync.replicas config for the transaction topic
|
||||
transactionStateLogMinIsr: 1
|
||||
|
||||
## The number of threads doing disk I/O.
|
||||
numIoThreads: 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user