ManagerConfig

com.devsisters.shardcake.ManagerConfig
See theManagerConfig companion object
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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product