Closed a7i closed 2 years ago
Describe the bug Deletion of KafkaSource does not clean up the ConsumerGroup. Even t hough KafkaSource is the ownerRef for ConsumerGroup
KafkaSource
ConsumerGroup
i.e.
apiVersion: internal.kafka.eventing.knative.dev/v1alpha1 kind: ConsumerGroup metadata: ownerReferences: - apiVersion: sources.knative.dev/v1beta1 blockOwnerDeletion: true controller: true kind: KafkaSource name: .... uid: ...
This is because the ConsumerGroup finalizer is blocking it.
Expected behavior If a KafkaSource is deleted, then the ConsumerGroup also needs to be deleted.
To Reproduce
Observe that the ConsumerGroup is not deleted
kubectl delete consumergroup ...
Knative release version v1.6.0
v1.6.0
Additional context Add any other context about the problem here such as proposed priority
I was missing some of the kafkasource components here
Also, I think you meant to discuss this in the https://github.com/knative-sandbox/eventing-kafka-broker repo (new version). Glad issue has been resolved.
Describe the bug Deletion of
KafkaSource
does not clean up theConsumerGroup
. Even t houghKafkaSource
is the ownerRef forConsumerGroup
i.e.
This is because the
ConsumerGroup
finalizer is blocking it.Expected behavior If a
KafkaSource
is deleted, then theConsumerGroup
also needs to be deleted.To Reproduce
KafkaSource
ConsumerGroup
is createdKafkaSource
Observe that the
ConsumerGroup
is not deletedkubectl delete consumergroup ...
does not work and requires removing the finalizersKnative release version
v1.6.0
Additional context Add any other context about the problem here such as proposed priority