Describe the bug
This is similar to knative/eventing#7699 , just for KafkaChannel instead of InMemoryChannel.
There should be an event type that references a Subscription but the only event type that is produced references the KafkaChannel:
oc get eventtypes -oyaml
apiVersion: v1
items:
- apiVersion: eventing.knative.dev/v1beta2
kind: EventType
metadata:
annotations:
eventing.knative.dev/creator: system:serviceaccount:knative-eventing:knative-kafka-channel-data-plane
eventing.knative.dev/lastModifier: system:serviceaccount:knative-eventing:knative-kafka-channel-data-plane
creationTimestamp: "2024-08-20T10:52:04Z"
generation: 1
name: et-channel-tlxhukhp-a113de44136be1100daefa6094b418eb
namespace: test-rargaffb
ownerReferences:
- apiVersion: messaging.knative.dev/v1beta1
kind: KafkaChannel
name: channel-tlxhukhp
uid: dc3e319b-7eec-421a-a30f-ba492747717f
resourceVersion: "21746568"
uid: da98632a-1b1b-40fb-a292-f5e5ee335f69
spec:
description: Event Type auto-created by controller
reference:
apiVersion: messaging.knative.dev/v1beta1
kind: KafkaChannel
name: channel-tlxhukhp
namespace: test-rargaffb
schema: http://example.com/schema
source: http://example.com/source
type: test.imc.custom.event.type.reply
status:
conditions:
- lastTransitionTime: "2024-08-20T10:52:04Z"
status: "True"
type: Ready
- lastTransitionTime: "2024-08-20T10:52:04Z"
status: "True"
type: ReferenceExists
observedGeneration: 1
kind: List
metadata:
resourceVersion: ""
I have attached a reproducer `TestChannelSubscriptionEventTypeAutoCreate to #4074
Expected behavior
It's not clear if there should be two events types created in this case. The expectation is that one event type would reference the Subscription and one would reference KafkaChannel.
To Reproduce
Run the reproducer test attached to #4074
Knative release version
1.14
Additional context
Describe the bug
This is similar to knative/eventing#7699 , just for KafkaChannel instead of InMemoryChannel.
There should be an event type that references a Subscription but the only event type that is produced references the KafkaChannel:
I have attached a reproducer `TestChannelSubscriptionEventTypeAutoCreate to #4074
Expected behavior
It's not clear if there should be two events types created in this case. The expectation is that one event type would reference the Subscription and one would reference KafkaChannel.
To Reproduce
Run the reproducer test attached to #4074
Knative release version
1.14
Additional context