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 Streaming Subscription Support #186

Open
JoshVanL opened this issue Jul 9, 2024 · 0 comments
Open

Add Streaming Subscription Support #186

JoshVanL opened this issue Jul 9, 2024 · 0 comments
Labels
enhancement New feature or request P1
Milestone

Comments

@JoshVanL
Copy link
Contributor

JoshVanL commented Jul 9, 2024

Dapr v1.14 adds support for streaming subscriptions which allows for dynamically subscribing to pubsub topics over a bi-directional gRPC stream. This API is exposed via the SubscribeTopicEventsAlpha1 gRPC API.

On first call, the client sends an InitialRequest containing the pubsub, topic name, etc. From then on, topic event messages are sent from daprd to the client over the stream. The client reports the processing status of this message back to daprd. A message will not be considered processed until the client has responded with this status. There can be multiple in-flight topic messages. Daprd unsubscribes from the topic when the stream is closed.

dapr/go-sdk#578 is a reference implementation for the go-sdk.

@mikeee mikeee added this to the 1.15 milestone Jul 15, 2024
@mikeee mikeee added enhancement New feature or request P1 labels Jul 15, 2024
@mikeee mikeee modified the milestones: 0.16.0, 0.17.0 Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

No branches or pull requests

2 participants