com.outworkers.phantom.builder.serializers.TopologyStrategies
Utility method that allows users to specify the replication factor for every data center in the network topology.
Utility method that allows users to specify the replication factor for every data center in the network topology. The center should be a string value containing the name of a data center and the factor should be the replication factor desired.
Example:
NetworkTopologyStrategy.data_center("dc1": 2).data_center("dc2": 3)
The name of the data center to specify the replication factor for.
The int value of the replication factor to use/
A serializable network topology strategy that can be encoded.