Check¶
The check protocol is used by clients to check the progress of a insertion or deletion process.
Each insert/delete command has
check_prefix
andprocess_id
parameters. Status check messages are published to the topic/<check_prefix>/check/<process_id>
, derived from these parameters.After receiving an insert/delete command, the repo periodically publishes the status of the insertion/deletion process to the topic. The message payload is
RepoCommandResponse
.The client can subscribe to the topic to receive status updates.
Status Code Definition¶
The status code definitions are as follows:
StatusCode
100
The command is OK
200
All the data has been inserted / deleted
300
The insertion / deletion is in progress