dotnet / dotnet/orleans

[Proposal] Add a hook to handle stream event without any subscribers

Open
#7,804 1 comment 0 reactions 0 assignees View on GitHub
area-streaming
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
14h 42m
Merged PRs (30d)
354

Description

Right now, when a pulling agent get an event for a stream that doesn't have any subscriber, we don't log anything. In some scenarios, it could be useful to send a notification, or log something.

We already have [`IStreamFailureHandler`](https://github.com/dotnet/orleans/blob/main/src/Orleans.Streaming/PersistentStreams/IStreamFailureHandler.cs). It could be added to that interface, or at least serve as a starting point to define another interface.

Contributor guide

Open the contributing guide

Research direction

Start with src/Orleans.Streaming/PersistentStreams/IStreamFailureHandler.cs and trace how pulling agents handle events for streams without subscribers. Clarify whether the existing interface should be extended or a new interface introduced, then define the notification or logging behavior and its completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.