-
Notifications
You must be signed in to change notification settings - Fork 81
Labels
Dapr-Agents-1.0P1documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Current Implementation
dapr-agents currently uses programmatic subscriptions with push-based delivery via the Dapr Python SDK's subscribe_with_handler method. The subscription logic is implemented in:
dapr_agents/workflow/utils/registration.py(line 243: default subscription method, lines 490-495: subscription creation)
Proposed Change
Migrate to streaming subscriptions to:
- Eliminate the need to expose application ports for message delivery
- Reduce infrastructure overhead
- Improve reliability through persistent connections
- Enable runtime subscription/unsubscription capabilities
Streaming subscriptions use a persistent gRPC connection between the application and Dapr sidecar, allowing the application to pull messages rather than receiving push-based HTTP/gRPC calls.
References
Cyb3rWard0g
Metadata
Metadata
Assignees
Labels
Dapr-Agents-1.0P1documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Projects
Status
We're Working On It