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

Add group member query service message protocol #2118

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

Y-Sindo
Copy link
Member

@Y-Sindo Y-Sindo commented Dec 30, 2024

To implement group member query API in persistent mode, we need to add a mechanism to respond with binary payload from service.

  • Move some util method in ServiceProtocol to a separate util class MessagePackUtils, so that they could be reused by other classes.
  • Deprecate string message member in AckMessage and add Payload member. The string message member is never used.
  • Introduce IMessagePackSerializable interface, so that we could put the (de)serialization methods of model classes inside themselves.
  • Refactor AckHandler to allow acking with binary payload

@Y-Sindo Y-Sindo force-pushed the presenceMessage branch 2 times, most recently from edd412c to 2f63cd3 Compare January 2, 2025 05:45
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