-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mechanism to respond with binary payload (#2118)
To implement group member query API and client invocation 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
- Loading branch information
Showing
8 changed files
with
414 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.