0
私はSpringブートアプリケーション用のRedisクラスタを追加します。私はそれを達成するために、以下のプロパティをapplication.propertyファイルの下に置く必要があることを知っています。Springブート用のRedisクラスタ構成
spring.redis.cluster.max-redirects= # Maximum number of redirects to follow when executing commands across the cluster.
spring.redis.cluster.nodes= # Comma-separated list of "host:port" pairs to bootstrap from.
何MAX-リダイレクトはであり、私はどのような価値を置く必要がありますか?
また、redisプールはredisクラスタでどのように動作しますか? redisクラスタ以下のredisプール値に対して、単一のredisノードと比較して異なるものはありますか?
spring.redis.pool.max-active
spring.redis.pool.max-idle
spring.redis.pool.max-wait
spring.redis.pool.min-idle
各プロパティには説明が含まれています。「spring.redis.cluster.max-redirects」のドキュメントをチェックしてください。 – mp911de