Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Commit 639ecf4

Browse files
authored
Decrease kafka log segment roll duration (#416)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
1 parent 873fcc6 commit 639ecf4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/milvus/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: milvus
33
appVersion: "2.2.2"
44
kubeVersion: "^1.10.0-0"
55
description: Milvus is an open-source vector database built to power AI applications and vector similarity search.
6-
version: 4.0.5
6+
version: 4.0.6
77
keywords:
88
- milvus
99
- elastic

charts/milvus/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ The following table lists the configurable parameters of the Milvus Service and
158158
| `externalS3.enabled` | Enable or disable external S3 | `false` |
159159
| `externalS3.host` | The host of the external S3 | `unset` |
160160
| `externalS3.port` | The port of the external S3 | `unset` |
161+
| `externalS3.rootPath` | The path prefix of the external S3 | `unset` |
161162
| `externalS3.accessKey` | The Access Key of the external S3 | `unset` |
162163
| `externalS3.secretKey` | The Secret Key of the external S3 | `unset` |
163164
| `externalS3.bucketName` | The Bucket Name of the external S3 | `unset` |

charts/milvus/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,9 @@ kafka:
725725
maxMessageBytes: _10485760
726726
defaultReplicationFactor: 3
727727
offsetsTopicReplicationFactor: 3
728+
## Only enable time based log retention
729+
logRetentionHours: 168
730+
logRetentionBytes: _-1
728731
extraEnvVars:
729732
- name: KAFKA_CFG_MAX_PARTITION_FETCH_BYTES
730733
value: "5242880"
@@ -734,6 +737,8 @@ kafka:
734737
value: "10485760"
735738
- name: KAFKA_CFG_FETCH_MESSAGE_MAX_BYTES
736739
value: "5242880"
740+
- name: KAFKA_CFG_LOG_ROLL_HOURS
741+
value: "24"
737742

738743
persistence:
739744
enabled: true

0 commit comments

Comments
 (0)