mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
bug5977: force redisson 3.17.1 in ingestion pom.xml; use cluster mode
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
<dependency>
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson</artifactId>
|
||||
<version>3.14.0</version>
|
||||
<version>3.17.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>software.amazon.awssdk</groupId>
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
package com.sap.sailing.ingestion;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.redisson.Redisson;
|
||||
@@ -14,7 +15,7 @@ public class RedisUtils {
|
||||
|
||||
static {
|
||||
final Config redisConfiguration = new Config();
|
||||
redisConfiguration.useReplicatedServers().addNodeAddress(Configuration.REDIS_ENDPOINTS);
|
||||
redisConfiguration.useClusterServers().setNodeAddresses(Arrays.asList(Configuration.REDIS_ENDPOINTS));
|
||||
redisClient = Redisson.create(redisConfiguration);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user