Closed aliok closed 3 years ago
The problem lies in the leader elector builder which creates leases in the system namespace. The fix in pkg
is quite big due to import cycle.
The dispatcher is not meant to run in leader-election mode and AFAIK it does run in this mode by accident, not by choice. So let's turn this off sooner than later.
For reference:
Describe the bug As the time of writing, I only tried with 0.17.7.
When I create a namespaced KafkaChannel (i.e. with annotation
eventing.knative.dev/scope: namespace
), I see following:Expected behavior No error
To Reproduce
Install Strimzi
Create namespace config for KafkaChannel:
Since there's a bug that KafkaChannel doesn't get the bootstrapServers info from local configmap (see https://github.com/knative/eventing-contrib/issues/1189), also edit the
config-kafka
configmap inknative-eventing
:Create KafkaChannel:
Create PingSource that sinks to the KafkaChannel:
Knative release version 0.17.7, maybe future versions have the same problem, haven't tried yet.
Additional context Add any other context about the problem here such as proposed priority