The listening port is assigned to each node of the replication service, depending on its role. If you change the node’s role, the listening port is not changed. One and the This same port will be always listened by the leader and the backups will always know how to contact it. Same for the port that is listened by the backups.
storageFactoryproperty. This factory allows using the Persistence API for storing a FIX session's state.
PersistenceEnableFactoryis based on
FilesystemStorageFactoryand delegates all operation Persistence API objects. Working with this API requires the implementation of
PersistentFactoryBuilder. The last one should construct an instance of
ReplicatedPersistenceFactoryBuilderlike a factory builder for
PersistentFactoryBuilderand builds a replicated instance of the factory. It uses
replicationTimeoutoptions from FIX antenna configs (or from session’s
Configurationinstance) to configure synchronous or asynchronous replication more for the FIX session.
- Define replication timeout in milliseconds. A zero value for this option will enable asynchronous replication for a FIX session.