Debezium server fffset file storage claim or cleanup

125 Views Asked by At

So, for non-kafka deployment, we specify offset storage file with debezium.source.offset.storage.file.filename as per documentation, how does the storage is reclaimed or cleanup happens?

I am planning to have k8s deployment with mounted volume as,

apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: debezium-gke
  labels:
    name: debezium
spec:
  serviceName: debezium
  selector:
    matchLabels:
      name: debezium
  template:
    spec:
      containers:
        - name: debezium
          image: debezium_server:1.10
          imagePullPolicy: Always
          volumeMounts:
            - name: debezium-config-volume
              mountPath: /debezium/conf
            - name: debezium-data-volume
              mountPath: /debezium/data
      volumes:
        - name: debezium-config-volume
          configMap:
            name: debezium
  volumeClaimTemplates:
    - metadata:
        name: debezium-data-volume
      spec:
        accessModes: [ "ReadWriteOnce" ]
        resources:
          requests:
            storage: 10G

But wondering if the disk spaces gets filled in if storage reclaim doesn't happen!

Thanks

0

There are 0 best solutions below