You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement logic to handle GROUP_DROPPED messages in the subscription process. This feature will ensure that the system properly manages cases where a Group Stream is reset or cannot be fully delivered.
Background
The protocol specifies that:
The publisher MUST send a GROUP_DROPPED message if a Group Stream is reset.
The subscriber SHOULD properly handle GROUP_DROPPED messages to maintain consistency and determine when a subscription can be closed.
Handling these messages is crucial to:
Inform the subscriber of incomplete Group Streams.
Allow the subscriber to close subscriptions cleanly.
Ensure data integrity in scenarios involving dropped or reset streams.
Acceptance Criteria
Publisher sends GROUP_DROPPED messages whenever a Group Stream is reset.
Subscriber identifies and processes GROUP_DROPPED messages correctly.
Tests to verify that GROUP_DROPPED messages trigger appropriate behaviors (e.g., logging, cleanup, retries).
Documentation updated to reflect how GROUP_DROPPED messages are handled.
Tasks
Publisher Implementation:
Add logic to detect Group Stream resets and send GROUP_DROPPED messages.
Ensure compliance with protocol requirements (e.g., MUST/MAY rules).
Subscriber Implementation:
Add handling for GROUP_DROPPED messages.
Implement optional behaviors (e.g., retries, state updates, or ignoring non-critical groups).
Testing:
Create unit and integration tests to cover scenarios where GROUP_DROPPED messages are used.
Validate that subscriptions are closed correctly when all messages are received.
Documentation:
Update protocol handling guides with examples of GROUP_DROPPED usage.
Implement Handling for
GROUP_DROPPED
MessagesDescription
Implement logic to handle
GROUP_DROPPED
messages in the subscription process. This feature will ensure that the system properly manages cases where a Group Stream is reset or cannot be fully delivered.Background
The protocol specifies that:
GROUP_DROPPED
message if a Group Stream is reset.GROUP_DROPPED
messages to maintain consistency and determine when a subscription can be closed.Handling these messages is crucial to:
Acceptance Criteria
GROUP_DROPPED
messages whenever a Group Stream is reset.GROUP_DROPPED
messages correctly.GROUP_DROPPED
messages trigger appropriate behaviors (e.g., logging, cleanup, retries).GROUP_DROPPED
messages are handled.Tasks
Publisher Implementation:
GROUP_DROPPED
messages.Subscriber Implementation:
GROUP_DROPPED
messages.Testing:
GROUP_DROPPED
messages are used.Documentation:
GROUP_DROPPED
usage.Additional Notes
References
Priority
High
The text was updated successfully, but these errors were encountered: