Operations Basics / Version 2110
Table Of ContentsThe replicator endpoint can be used to enable or disable the replication process.
endpoint properties.
management.endpoint.replicator.enabled=true
Endpoint url.
http://localhost:8081/actuator/replicator
When requested using a GET HTTP request, the endpoint will respond with the state of the replicator.
Response.
{ "serviceState": "Running" }
Possible states are Running
, Stopped
, Failed
, Disabled
and Unknown
.
To enable or disable the replicator, send a POST request.
Disable replicator.
curl -X POST -H "Content-Type: application/json" \ -d '{"enable": "false"}' \ http://localhost:8081/actuator/replicator