Skip to content

Topic API control event ordering #553

Description

@a1kaigorodov

Problem

The Topic API client currently receives StartPartitionSessionEvent and StopPartitionSessionEvent events from AsyncReader without ordering guarantees. This leads to race conditions where a stop event may be processed before its corresponding start event, causing undefined behavior.

Expected Behavior

The Topic API should guarantee strict event ordering, ensuring that each control event is delivered to the client only after the previous event has been fully processed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions