dapr / dapr/go-sdk

Programmatic PubSub Bulk Subscribe Support

Open
#423 2 comments 6 reactions 1 assignee Claimed by @sadath-12 View on GitHub
enhancement
Dominant language
Go
Stars
479
Forks
187
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Today, it looks like the dapr go-sdk does not support the [alpha-feature Bulk Subscribe described in the v1.11 Dapr docs](https://docs.dapr.io/developing-applications/building-blocks/pubsub/pubsub-bulk/). It would be great if the go-sdk supported bulk subscribe programmatically. Although the declarative setup is allegedly available (I am in the process of getting this to work...), it would be nice to have the same features as the .NET, Java, and JavaScript SDKs 😄.

**Describe the solution you'd like**
1. Support for Bulk Subscribe in the go-sdk
2. Ability to `enable`/disable, set `maxMessageCount`, and set `maxAwaitDurationMs`

**Describe alternatives you've considered**
Declarative setup is available, but not preferred by our team.

**Additional context**
I'm happy to provide any additional information if needed. I also took a look at the source code and [couldn't find a way to bulk subscribe](https://github.com/dapr/go-sdk/blob/main/service/common/type.go#L89-L104). Please correct me if i'm wrong!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.