/  Yamcs HTTP API  /  Replication  /  Subscribe Replication Info

Subscribe Replication InfoΒΆ

Receive replication updates

WebSocket

This method requires to upgrade an HTTP connection to WebSocket. See details on how Yamcs uses WebSocket.

Use the message type replication-info.

Output Type

interface ReplicationInfo {
  masters: ReplicationMasterInfo[];
  slaves: ReplicationSlaveInfo[];
}

Related Types

interface ReplicationMasterInfo {

  // Yamcs instance name
  instance: string;
  streams: string[];
  localAddress: string;
  remoteAddress: string;
  push: boolean;
  pushTo: string;
  localTx: string;  // String decimal
  nextTx: string;  // String decimal
}

interface ReplicationSlaveInfo {

  // Yamcs instance name
  instance: string;
  streams: string[];
  localAddress: string;
  remoteAddress: string;
  push: boolean;
  pullFrom: string;
  tx: string;  // String decimal
}