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

Add .NET client for pub/sub support #1380

Closed
wants to merge 16 commits into from
Closed

Conversation

WhitWaldo
Copy link
Contributor

Description

In the ongoing effort to build out separate purpose-driven Dapr clients, this PR adds streaming pub/sub support to the new Dapr.Messaging package.

This was based on the work done by @philliphoff here and is a replacement of the previous PR at #1346 as that featured substantial changes to the larger Dapr solution that have since been rendered obsolete by other PRs (and no longer has a prerequisite dependency on other PRs like #1331 ).

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1324

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
- Added lock so that while we guarantee the method is called only once, it should be thread-safe now
- Marked PublishSubscribeReceiver as internal so its members aren't part of the public API
- Updated TopicMessage to use IReadOnlyDictionary

Signed-off-by: Whit Waldo <[email protected]>
@WhitWaldo WhitWaldo added this to the v1.15 milestone Oct 24, 2024
@WhitWaldo WhitWaldo self-assigned this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Streaming Subscription Support
1 participant