Yamcs HTTP API
- Activities
- Alarms
- Audit
- Buckets
- Clearance
- Commands
- COP-1
- Database
- Events
- File Transfer
- IAM
- Indexes
- Instances
- Links
- MDB Override
- MDB
- Packets
- Parameter Archive
- Parameter Lists
- Parameter Values
- Processing
- Queues
- Replication
- RocksDB
- Server
- Services
- Sessions
- Stream Archive
- Table
- Time Correlation
- Time
- Timeline
Related
Yamcs Release Notes
Yamcs Server Manual
Source Code Documentation
Download this Document
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
}