I get error below when i use spymemcached , everything works fine with xmemcached-provider.
<dependency>
<groupId>com.google.code.simple-spring-memcached</groupId>
<artifactId>spymemcached-provider</artifactId>
<version>4.0.0</version>
</dependency>
2018-09-04 18:08:18.946 INFO net.spy.memcached.MemcachedConnection: Added {QA sa=/
127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2018-09-04 18:08:18.956 INFO net.spy.memcached.MemcachedConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@e8ab589
2018-09-04 18:08:23.975 INFO net.spy.memcached.ConfigurationPoller: Starting configuration poller.
2018-09-04 18:08:23.975 INFO net.spy.memcached.ConfigurationPoller: Endpoint to use for configuration access in this poll NodeEndPoint - HostName:localhost IpAddress:127.0.0.1 Port:11211
2018-09-04 18:08:23.977 WARN net.spy.memcached.ConfigurationPoller: The configuration is null in the server localhost
2018-09-04 18:08:23.977 WARN net.spy.memcached.ConfigurationPoller: Number of consecutive poller errors is 1. Number of minutes since the last successful polling is 0
I am using the same configuration provided in the readme.
Also i tried the below
<dependency>
<groupId>com.google.code.simple-spring-memcached</groupId>
<artifactId>spymemcached-provider</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>net.spy</groupId>
<artifactId>spymemcached</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.spy</groupId>
<artifactId>spymemcached</artifactId>
<version>2.12.2</version>
</dependency>
This seems to be working.