All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.devsisters.shardcake.RedisConfig.scala Maven / Gradle / Ivy

The newest version!
package com.devsisters.shardcake

/**
 * The configuration for the Redis storage implementation.
 * @param assignmentsKey the key to store shard assignments
 * @param podsKey the key to store registered pods
 */
case class RedisConfig(assignmentsKey: String, podsKey: String)

object RedisConfig {
  val default: RedisConfig = RedisConfig(assignmentsKey = "shard_assignments", podsKey = "pods")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy