Aiven-Open / Aiven-Open/tiered-storage-for-apache-kafka

Aiven Tiered storage with Bitnami Kafka 3.7.1-possible Compatibility issue

Aperta
#773 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
239
Fork
59
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.