js-sdk icon indicating copy to clipboard operation
js-sdk copied to clipboard

Allow publishing cloud events directly

Open shubham1172 opened this issue 3 years ago • 0 comments

Describe the proposal

The SDK support publishing application/json content-type only. This proposal is to allow sending cloud events directly with content-type as application/cloudevents+json.

It is important for users to set CloudEvent attributes for Pub/Sub routing. See #370

See similar implementation by dotnet-SDK https://github.com/dapr/dotnet-sdk/pull/868

shubham1172 avatar Sep 22 '22 06:09 shubham1172