You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does xmemcached support multiple clusters? Here in company we have two clusters in AWS, one cluster "1a", and other "1b". Each cluster have one node, but when i try to connect with each cluster, instead of connecting with two nodes i always get connected with just one node. I'am using Java 8 with
memcached 2.4.5.
List<InetSocketAddress> list = new ArrayList<>();
list.add(new InetSocketAddress("1ahost", port));
list.add(new InetSocketAddress("1bhost", port));
AWSElasticCacheClientBuilder builder = new AWSElasticCacheClientBuilder(list);
builder.setSessionLocator(new KetamaMemcachedSessionLocator());
AWSElasticCacheClient build = builder.build();
System.out.println("\n\nCluster conf");
ClusterConfigration conf = build.getConfig();
System.out.println(conf.toString());
This code is printing just 1a. If xmemcached actually don't support 2 clusters, i think it would help (if possible and if useful).
Thanks for this great lib!
The text was updated successfully, but these errors were encountered:
Does xmemcached support multiple clusters? Here in company we have two clusters in AWS, one cluster "1a", and other "1b". Each cluster have one node, but when i try to connect with each cluster, instead of connecting with two nodes i always get connected with just one node. I'am using Java 8 with
memcached 2.4.5.
This code is printing just 1a. If xmemcached actually don't support 2 clusters, i think it would help (if possible and if useful).
Thanks for this great lib!
The text was updated successfully, but these errors were encountered: