Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement presence API for management SDK persistent mode #2125

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Y-Sindo
Copy link
Member

@Y-Sindo Y-Sindo commented Jan 15, 2025

No description provided.

@vwxyzh
Copy link
Contributor

vwxyzh commented Jan 16, 2025

rough idea for n-way merge for multi-endpoint.
#2126

sequenceDiagram
    participant c as Client
    participant s as SDK
    participant m as Multi Endpoint Service Connection Container
    participant s1 as Service Connection Container For Service 1
    participant s2 as Service Connection Container For Service 2

    c->>s: Enumerate group member
    s->>m: Enumerate group member
    loop
        opt Need more data from Service 1
            m->>s1: Enumerate group member with pagination
            s1->>m: Pagination result
        end
        opt Need more data from Service 2
            m->>s2: Enumerate group member with pagination
            s2->>m: Pagination result
        end
        loop
            m->>m: N-way merge
            m->>s: Yield return
            s->>c: Yield return
        end
    end
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants