shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/replication/applier-config <<EOF
{
"endpoint" : "tcp://127.0.0.1:8529",
"username" : "replicationApplier",
"password" : "applier1234@foxx",
"chunkSize" : 4194304,
"autoStart" : false,
"adaptivePolling" : true
}
EOF
HTTP/1.1 OK
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"endpoint" : "tcp://127.0.0.1:8529",
"database" : "_system",
"username" : "replicationApplier",
"requestTimeout" : 600,
"connectTimeout" : 10,
"ignoreErrors" : 0,
"maxConnectRetries" : 100,
"lockTimeoutRetries" : 0,
"sslProtocol" : 0,
"chunkSize" : 4194304,
"skipCreateDrop" : false,
"autoStart" : false,
"adaptivePolling" : true,
"autoResync" : false,
"autoResyncRetries" : 2,
"maxPacketSize" : 536870912,
"includeSystem" : true,
"includeFoxxQueues" : false,
"requireFromPresent" : true,
"verbose" : false,
"incremental" : false,
"restrictType" : "",
"restrictCollections" : [ ],
"connectionRetryWaitTime" : 15,
"initialSyncMaxWaitTime" : 300,
"idleMinWaitTime" : 1,
"idleMaxWaitTime" : 2.5
}