Redisson client keeps running after shutdown invoked
See original GitHub issueI have the following code:
RedissonClient redisson = Redisson.create();
RMap<Object, Object> mymap = redisson.getMap("mymap");
mymap.put("field1", "value1");
mymap.put("field1", "value2");
redisson.shutdown();
logger.info("Here but JVM still runs after this line");
And the output is:
2018-02-01 15:24:14 INFO Version:41 - Redisson 3.6.0
2018-02-01 15:24:14 INFO MasterPubSubConnectionPool:144 - 1 connections initialized for /127.0.0.1:6379
2018-02-01 15:24:14 INFO MasterConnectionPool:144 - 10 connections initialized for /127.0.0.1:6379
2018-02-01 15:24:17 INFO RedisTest:21 - Here but JVM still runs after this line
What is other than shutdown needed for graceful shutdown?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Redisson Spring - Unexpected exception while processing ...
I think there might be a key conflict in the Redis. It is possible you the key ( obj ) already exists and...
Read more >mrniko/redisson - Gitter
RedissonMap.get is invoked and it is waiting to get the answer back from redis ... Unless it is taken during/after the shutdown of...
Read more >Asynchronous, Reactive, and RxJava2 Interfaces for Redis
The good news is that all three of these programming models are available in Redis using Redisson, a third-party client library that integrates ......
Read more >Redis Streams for Java - Redisson
The Redis Streams data type has been optimized for working with large quantities of ... Redisson is a third-party Redis Java client that...
Read more >Index (Redisson 3.8.1 API) - Javadoc.io
Adds connection listener which will be triggered when Redisson has just been connected to or disconnected from ... Method in class org.redisson.client.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in the next (unreleased) version of Netty.
https://github.com/netty/netty/pull/7627
@johnou It’s just a question of time 😃