dapr / docs

Dapr user documentation, used to build docs.dapr.io
https://docs.dapr.io
Creative Commons Attribution 4.0 International
992 stars 725 forks source link

More examples around Publishing your own CloudEvents #3373

Closed opinionmachine closed 1 year ago

opinionmachine commented 1 year ago

What content needs to be created or modified? image So - the json payload in the CLI example above is not a CloudEvent payload.

What do you mean with the text

If you want to use your own CloudEvent, make sure to specify the datacontenttype as application/cloudevents+json

Let's say I want to boil the ocean to maintain DAPR compat and bin ApplicationProperties in Azure ServiceBus and instead start publishing CloudEvents with Extensionattributes so that I can consume those in DAPR instead.

How/what do I do then?

Describe the solution you'd like

I would like a paragraph on how you publish a CloudEvents payload that can be consumed by a subscriber including ExtensionAttributes so that I can know how to publish cloudevents properly using DAPR.

Where should the new material be placed?

It could replace the bit I screenshotted. The associated pull request from dapr/dapr, dapr/components-contrib, or other Dapr code repos

Additional context

shivanisinghnitp commented 1 year ago

/assign

hhunter-ms commented 1 year ago

This has been resolved. If you feel this needs more work, feel free to reopen or open a new issue.