ManagerConfig

case class ManagerConfig(numberOfShards: Int, apiPort: Int, rebalanceInterval: Duration, rebalanceRetryInterval: Duration, pingTimeout: Duration, persistRetryInterval: Duration, persistRetryCount: Int, rebalanceRate: Double)

Shard Manager configuration

Value parameters:
apiPort

port to expose the GraphQL API

numberOfShards

number of shards (see documentation on how to choose this), should be same on all nodes

persistRetryCount

max retry count for persistence of pods and shard assignments

persistRetryInterval

retry interval for persistence of pods and shard assignments

pingTimeout

time to wait for a pod to respond to a ping request

rebalanceInterval

interval for regular rebalancing of shards

rebalanceRate

max ratio of shards to rebalance at once

rebalanceRetryInterval

retry interval for rebalancing when some shards failed to be rebalanced

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product