I'm using Apache Kafka 2.11-0 and deploy into container in GKE. I put 3 replicas for the HA and the message is consumed by Flink Job.
I'm using persistent volume in /var/lib/kafka
and this is my base docker image: kubernetes-kafka/kubernetes-kafka:1.0-10.2.1
I have 1 topic using 4 partitions
I notice that once there's 1 kafka node is restarted, the offset is reset to 0.
I didn't overwrite the value of auto.offset.reset , which default should be latest.
Is there any reasons why the offset is reset ?