Dapr PubSub streaming subscription without CloudEvent
04:03 23 Dec 2025

In the dapr docs it is only stated how to include the required spec.metadata.isRawPayload in programmatic and declarative subscriptions.

However, if you need to enable dapr at runtime, you need to use streaming subscriptions (there is this slightly outdated Java example). There doesn't exist a way to pass the client the required metadata field in daprs Java SDK as far as I could determine.

dapr