-
Notifications
You must be signed in to change notification settings - Fork 83
KafkaChannel doesn't respect the scope annotation when creating the topic #656
Comments
Related #126 |
This bug fix would be greatly appreciated. |
Hello KN Enthusiasts, |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
ORIGINAL ISSUE: knative/eventing-contrib#1189
Describe the bug
When
eventing.knative.dev/scope: namespace
annotation is available on a channel, KafkaChannel should create the topic in the Kafka cluster that's specified in theconfig-kafka
configmap within the same namespace.But the topic is created in the Kafka cluster that's specified in the Knative system's
knative-eventing/config-kafka
configmap.Expected behavior
Topic should be created in the correct Kafka instance.
To Reproduce
kafka
namespaceknative-eventing/config-kafka
configmap:foo
namespacefoo
'sknative-eventing/config-kafka
configmap:foo
, with the namespace scope annotation:Knative release version
I reproduced the issue on 0.13, but it is valid in 0.14 too
Additional context
Creating namespace-scoped dispatchers : https://github.com/knative/eventing-contrib/blob/release-0.14/kafka/channel/README.md
Code refs:
scope
reading happens after the topic creation using the system namespaceThe text was updated successfully, but these errors were encountered: