Open SalyczeQ opened 2 years ago
Hey, sorry for the delay!
yeah we publish a bunch of DEBUG logs that could help you nail it down so make sure that the com.jashmore
namespace is in DEBUG.
The most likely problems that could be causing this are:
PrefetchingMessageRetriever
is polling for messages from the queue but none are being returned. You can see on this line it would tell you whether any messages were retrieved: PrefetchingMessageRetriever.java#L114. E.g. it might continuously be saying received 0 messages which could indicate a problem with your queue.If you were able to reproduce the problem with this example I could help look into debugging but it is hard to know without being able to reproducing it myself.
Let me know how you go!
Hi, I discover some issues with pulling messages. It seems that after some time of application running, the message listener stops pulling more messages from SQS. (Other parts of the app runs normally)
I am using prefetchingMessageListener in version 4.4.0 with this conf in Ktor 1.6.7.
concurrencyLevel = { 2 } messageVisibility = { Duration.ofSeconds(60) } desiredPrefetchedMessages = 5 maxPrefetchedMessages = 10
I understand that this is not easy to figure out what is exactly happening and what can be wrong. Would you have even advice on how to possibly trace this issue? Or debug it?
thanks, Saly