ShardingMixin Service APIv1
Understanding the ShardingMixin service APIv1, as known as ntt.mixins.sharding.v1.
Here is the list of resources supported in ShardingMixin service APIv1:
ShardingMixin Service Shared Methods and Messages
ShardingMixin Service Shared Methods
Here is the list of ShardingMixin service shared methods:
- EstablishSession method
EstablishSession Method
EstablishSession
rpc EstablishSession(SessionData) returns (SessionData)
ShardingMixin Service Shared Messages
Here is the list of ShardingMixin service shared messages:
- SessionData message
- SessionData.ForcedShutdown message
- SessionData.GracefulShutdown message
- SessionData.Keepalive message
- SessionData.MyInfo message
- SessionData.StatusChange message
SessionData Message
A request and response message of the EstablishSession method.
Name | Type | Description |
---|---|---|
info | SessionData.MyInfo | |
keepalive | SessionData.Keepalive | |
status | SessionData.StatusChange | |
shutdown | SessionData.GracefulShutdown | |
forced_shutdown | SessionData.ForcedShutdown |
SessionData.ForcedShutdown Message
Name | Type | Description |
---|---|---|
forced_instance | string | |
time | .google.protobuf.Timestamp |
SessionData.GracefulShutdown Message
Name | Type | Description |
---|---|---|
time | .google.protobuf.Timestamp |
SessionData.Keepalive Message
Name | Type | Description |
---|---|---|
none | none | none |
SessionData.MyInfo Message
Name | Type | Description |
---|---|---|
my_public_hostname | string | |
my_private_hostname | string |
SessionData.StatusChange Message
Name | Type | Description |
---|---|---|
ready_shards | repeated int64 |