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

main.misk.redis.RedisConfig.kt Maven / Gradle / Ivy

There is a newer version: 2024.09.17.200749-4708422
Show newest version
package misk.redis

import misk.config.Redact
import redis.clients.jedis.Protocol
import wisp.config.Config

class RedisConfig : java.util.LinkedHashMap, Config {
  constructor() : super()
  constructor(m: Map) : super(m)
}

data class RedisReplicationGroupConfig @JvmOverloads constructor(
  val writer_endpoint: RedisNodeConfig,
  val reader_endpoint: RedisNodeConfig,
  @Redact
  val redis_auth_password: String,
  val timeout_ms: Int = Protocol.DEFAULT_TIMEOUT
)

data class RedisNodeConfig(
  val hostname: String?,
  val port: Int
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy