Skip to content

Fix CloudEvents unwrap for inline listeners#2308

Merged
jeremydmiller merged 1 commit intoJasperFx:mainfrom
lahma:kafka-multiple-cloud-events
Mar 16, 2026
Merged

Fix CloudEvents unwrap for inline listeners#2308
jeremydmiller merged 1 commit intoJasperFx:mainfrom
lahma:kafka-multiple-cloud-events

Conversation

@lahma
Copy link
Copy Markdown
Contributor

@lahma lahma commented Mar 16, 2026

This was actually the fast path to get to #2306 problems. So when there was no default message type to fallback to and Kafka envelope didn't have eventType the routing wasn't able to extract it from cloud event envelope.

Now allowing the handler pipeline to unwrap metadata-aware serializers before requiring Envelope.MessageType so inline CloudEvents receivers can deserialize messages without DefaultIncomingMessage(). Reuse the same helper in durable receivers and add runtime and Kafka regression coverage for inline CloudEvents handling.

Allow the handler pipeline to unwrap metadata-aware serializers before
requiring Envelope.MessageType so inline CloudEvents receivers can
deserialize messages without DefaultIncomingMessage<T>(). Reuse the same
helper in durable receivers and add runtime and Kafka regression
coverage for inline CloudEvents handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants