# How to replicate an event stream at a remote machine?
Set replication.run to true in the stream module's conf
replication.run=trueAlso mark the stream as readOnly to avoid any writes to the replicated stream
readOnly=trueProvide the replication specific parameters
replication.autoUpdateMinInterval=5000 replication.autoUpdateMaxInterval=60000 replication.autoUpdateStepInterval=2000 replication.autoUpdateReplayMax=100Provide the source stream's host details i.e. the stream to replicate from
source.store.host="remote-host" source.store.port=27017 source.store.dbName="lottery-event-store"Note: Ensure the eventDb's mongo port is accessible by the machine in which the remote replication is running.
Test the configuration by running the
replication detailscommand.