-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Aiven Kafka Tiered Storage won't start up in Bitnami -Kafka 3.7.1 Environment with bitnami kafka Helm repo Version 29.3.8
See my values-override-gcs.yaml config:
podAnnotations:
insecure-registry: "true"
deleteTopicEnable: true
extraConfig: delete.topic.enable=true
image:
registry: localdockreg:5000
repository: vm-devops-packman.parsec.local/ec_cloud/aiven_kafka
tag: 3.7.1-gcs-jars
pullPolicy: Always
kraft:
enabled: true
auth:
sasl:
enabled: false
listeners:
client:
protocol: PLAINTEXT
controller:
protocol: PLAINTEXT
interbroker:
protocol: PLAINTEXT
extraConfig: |
Remote metadata manager
remote.log.metadata.manager.class.name=org.apache.kafka.server.log.remote.metadata.storage.TopicBasedRemoteLogMetadataManager
remote.log.storage.manager.impl.class.name=io.aiven.kafka.tieredstorage.KafkaRemoteStorageManager
remote.log.storage.system.enable=true
remote.log.storage.manager.class.name=io.aiven.kafka.tieredstorage.RemoteStorageManager
remote.log.storage.manager.class.path=/opt/bitnami/kafka/plugins/core-1.1.1/:/opt/bitnami/kafka/plugins/gcs-1.1.1/
remote.log.metadata.manager.listener.name=CLIENT
remote.log.metadata.manager.config.bootstrap.controllers=kafka.default.svc.cluster.local:9093
GCS
rsm.config.storage.backend.class=io.aiven.kafka.tieredstorage.storage.gcs.GcsStorage
rsm.config.storage.gcs.bucket.name=aiven-kafka-bucket
rsm.config.storage.gcs.credentials.path=/etc/gcs/gcp-service-account-key.json
rsm.config.chunk.size=67108864
Cache
rsm.config.fetch.chunk.cache.class=io.aiven.kafka.tieredstorage.fetch.cache.DiskChunkCache
rsm.config.fetch.chunk.cache.path=/bitnami/kafka/tiered-storage-cache
rsm.config.fetch.chunk.cache.size=2147483648
Force fast rollover
log.segment.bytes=134217728
remote.log.manager.task.interval.ms=120000
sm.config.fetch.chunk.cache.retention.ms=600000
remote.log.metadata.manager.config.bootstrap.controllers=kafka.default.svc.cluster.local:9093
──────────────────────────────
Mount the GCS service-account key as a secret
──────────────────────────────
extraVolumes:
- name: tiered-storage-cache
emptyDir:
sizeLimit: 10Gi - name: gcs-credentials
secret:
secretName: kafka-gcs-credentials
items:
- key: gcp-service-account-key.json
path: gcp-service-account-key.json
- name: local-registry
configMap:
name: local-registry
items:
- key: registries.yaml
path: registries.yaml
extraVolumeMounts:
- name: tiered-storage-cache
mountPath: /bitnami/kafka/tiered-storage-cache - name: gcs-credentials
mountPath: /etc/gcs/gcp-service-account-key.json
subPath: gcp-service-account-key.json
readOnly: true
- name: local-registry
mountPath: /etc/rancher/k3s/registries.yaml
subPath: registries.yaml
persistence:
size: 100Gi # local retention (old segments will be deleted after offload)
Kafka brokers all start up with no errors. Get no errors relating RemoteStorageManager or Aiven.
Is there some missing config?
I would expect logs showing errors.