Module mz_persist_client::rpc

source ยท
Expand description

gRPC-based implementations of Persist PubSub client and server.

Structsยง

Constantsยง

  • A gRPC metadata key to indicate the caller id of a client.
  • Determines whether PubSub clients should connect to the PubSub server.
  • For connected clients, determines whether to push state diffs to the PubSub server. For the server, determines whether to broadcast state diffs to subscribed clients.
  • For connected clients, determines whether to push state diffs to the PubSub server. For the server, determines whether to broadcast state diffs to subscribed clients.

Traitsยง

  • Top-level Trait to create a PubSubClient.
  • The receive-side client to Persist PubSub.
  • The public send-side client to Persist PubSub.
  • The internal send-side client trait to Persist PubSub, responsible for issuing RPCs to the PubSub service. This trait is separated out from PubSubSender to keep the client implementations straightforward, while offering a more ergonomic public API in PubSubSender.

Functionsยง