You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the type seems always be com.dapr.event.sent. I debug into the gRPC code down to protocol bufferserializeStringMapTo and I am pretty sure the type is correctly written to the sidecar via 50001.
Are there anything wrong here? And can I specify other metadata like metadata.rawPayload?
Thanks, @tanvigour , but I am not saying the media type in "content-type" or "datacontenttype", I am saying the "type" context attribute in CloudEvent spec. e.g, "user.created".
And it seems I cannot set extension context attributes (custom metadata), but the CloudSpec allows.
The CloudEvent spec says we can specify the
type
in the metadata. The SDK allows metadata customization when publishing an event as belowBut the
type
seems always becom.dapr.event.sent
. I debug into the gRPC code down to protocol bufferserializeStringMapTo
and I am pretty sure thetype
is correctly written to the sidecar via 50001.Are there anything wrong here? And can I specify other metadata like
metadata.rawPayload
?If I do a POST with curl, this works
So I guess this problem only occurs in gRPC. However, the SDK does not support HTTP for pub/sub, right?
The text was updated successfully, but these errors were encountered: