redisson
redisson copied to clipboard
RedissonBlockingQueue.take() returns null in case of internal error
The take() method in RedissonBlockingQueue uses Future.getNow(), which returns null if an exception occurs. In our case, we have tons of NPEs when the application is stopped.
What does queue consists of? Number?
We use POJO in the queue.
I think @0x0000-dot-ru meant 'which returns null if an exception occurs'
Thank you @stfnio, that's what I meant. I fixed the message.
Fixed