I am using Redis lists and lpush for publishing high volume of messages and then having multiple threads to receive the updates using brpop command. The code works in a random fashion. it works sometimes and mostly, ends up with the connection pool reached max wait queue size error.Actually, this is happening when i have 2 classes trying to push/pull from 2 different lists. When i do this in just 1 class, it works fine. Not sure connecting to multiple lists has any overhead.Am using Redis version 6+ on Quarkus if it helps.
Any idea what is causing the issue and how to resolve?
Thank you in advance!
Best RegardsSG