Parses replication settings from a config that looks like:
Parses replication settings from a config that looks like:
replicationStrategy: "SimpleStrategy" replicationFactor: 3
or:
replicationStrategy: "NetworkTopologyStrategy" replicationFactor: [ {dc1: 3}, {dc2: 3} ]
The applications Typesafe config
The target data store, as defined in application.conf
The environment, as defined in application.conf (i.e. "pillar.dataStoreName.environment {...})
ReplicationOptions with a default of Simple Strategy with a replication factor of 3.