Delivery Format: set kn-ingress-format
ce extension on imc ingress
#8076
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 InMemoryChannel 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/channel/event_receiver.go
Lines 177 to 278 in 5f6713a
The text was updated successfully, but these errors were encountered: