quantranhong1999 commented on code in PR #2420: URL: https://github.com/apache/james-project/pull/2420#discussion_r1774391585
########## backends-common/redis/src/main/java/org/apache/james/backends/redis/RedisConfiguration.scala: ########## @@ -25,14 +25,17 @@ import eu.timepit.refined.api.Refined import eu.timepit.refined.collection.NonEmpty import io.lettuce.core.{ReadFrom, RedisURI} import org.apache.commons.configuration2.Configuration -import org.apache.james.backends.redis.RedisConfiguration.{CLUSTER_TOPOLOGY, MASTER_REPLICA_TOPOLOGY, STANDALONE_TOPOLOGY} +import org.apache.james.backends.redis.RedisConfiguration.{CLUSTER_TOPOLOGY, MASTER_REPLICA_TOPOLOGY, REDIS_READ_FROM_DEFAULT_VALUE, REDIS_READ_FROM_PROPERTY_NAME, SENTINEL_TOPOLOGY, STANDALONE_TOPOLOGY} import org.apache.james.backends.redis.RedisUris.{REDIS_URL_PROPERTY_NAME, RedisUris} import org.slf4j.{Logger, LoggerFactory} object RedisConfiguration { + val REDIS_READ_FROM_PROPERTY_NAME = "redis.readFrom" val STANDALONE_TOPOLOGY = "standalone" val CLUSTER_TOPOLOGY = "cluster" val MASTER_REPLICA_TOPOLOGY = "master-replica" + val SENTINEL_TOPOLOGY = "sentinel" Review Comment: no docs for this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org