Delivery Format: set kn-ingress-format
ce extension on mt channel based broker ingress
#8075
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature-request
triage/accepted
Issues which should be fixed (post-triage)
Problem
To support dispatching events from the MTChannelBasedBroker with the correct format when a user sets the
spec.delivery.format
toingress
, we need to set a cloudevent extension ofkn-ingress-format
to specify which format was used. This should be set tostructured
if the input event was structured, andbinary
if the input event was in binary. However, since this event may have been forwarded from earlier ingress, we need to only set thekn-ingress-format
extension if it is not already present on the event.Persona:
Which persona is this feature for?
Exit Criteria
Unit tests verifying that:
Time Estimate (optional):
How many developer-days do you think this may take to resolve? 1-2
Additional context (optional)
Add any other context about the feature request here.
eventing/pkg/broker/ingress/ingress_handler.go
Lines 172 to 283 in 5f6713a
The text was updated successfully, but these errors were encountered: