Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription is passed the cloud event data in the form for string. #5

Open
Abhilash-Chandran opened this issue Nov 18, 2021 · 0 comments
Assignees
Labels
bug Something isn't working dapr_server pubsub publish subscribe related issue.

Comments

@Abhilash-Chandran
Copy link
Owner

In the current form subscribe method under HttpServerPubsub passes the cloud event data to the callback as a string.

This could be enhanced by passing the decoded cloud event to the callback.

Decision needs to be made whether this should be decoded into a CloudEvent object before passing it to the callback.

This needs to be done only if the rawEvents argument is set to false.

@Abhilash-Chandran Abhilash-Chandran added bug Something isn't working dapr_server pubsub publish subscribe related issue. labels Nov 18, 2021
@Abhilash-Chandran Abhilash-Chandran self-assigned this Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dapr_server pubsub publish subscribe related issue.
Projects
None yet
Development

No branches or pull requests

1 participant