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
thank you for providing support for node autodiscovery in AWS elasticache. i just tested it out and it looks like it's working so far. if our testing continues to go well, it means we won't have to run twemproxy, which is nice!
in my testing i ran into what might be a configuration/building issue. but i'm new to xmemcached, so perhaps i'm not using it right. basically, i want to be able to set configuration values such as setConnectionPoolSize. in our existing code in master, we use the builder pattern given to us via XMemcachedClientBuilder. but AWSElasticCacheClient doesn't have an associated builder.
so i instantiated it manually and tried to call setConnectionPoolSize, but that gives me an IllegalStateError as the constructor for AWSElasticCacheClient starts the connection.
i also want to set the session idle timeout: builder.getConfiguration().setSessionIdleTimeout(15000);
do you have any suggestions for how i can make this work? or do we need a new version that either gives us a builder for AWSElasticCacheClient or, perhaps, allows us to not start the AWSElasticCacheClient at instantiation time but instead manually?
thanks again!
The text was updated successfully, but these errors were encountered:
hello!
thank you for providing support for node autodiscovery in AWS elasticache. i just tested it out and it looks like it's working so far. if our testing continues to go well, it means we won't have to run twemproxy, which is nice!
in my testing i ran into what might be a configuration/building issue. but i'm new to xmemcached, so perhaps i'm not using it right. basically, i want to be able to set configuration values such as
setConnectionPoolSize
. in our existing code in master, we use the builder pattern given to us viaXMemcachedClientBuilder
. butAWSElasticCacheClient
doesn't have an associated builder.so i instantiated it manually and tried to call
setConnectionPoolSize
, but that gives me anIllegalStateError
as the constructor forAWSElasticCacheClient
starts the connection.i also want to set the session idle timeout:
builder.getConfiguration().setSessionIdleTimeout(15000);
do you have any suggestions for how i can make this work? or do we need a new version that either gives us a builder for
AWSElasticCacheClient
or, perhaps, allows us to not start theAWSElasticCacheClient
at instantiation time but instead manually?thanks again!
The text was updated successfully, but these errors were encountered: