RawRabbit icon indicating copy to clipboard operation
RawRabbit copied to clipboard

RetryLater: Channels not closing

Open mbinot opened this issue 8 years ago • 4 comments

We have an application with services using 1.10.2 and encounter a growing number of channels. It seems that the services that use RetryLater cause this effect. Trying to track down the problem, we noticed that every time a message is sent to the retry-queue, a new channel is opened and closed again. But the next time a regular message is processed an additional channel is being opened. What could we do to prevent the creation of these channels?

mbinot avatar Aug 07 '17 09:08 mbinot

Hello, @mbinot - thanks for reporting this. Have you tried to upgrade to 1.10.3 and see if the problem still occurs?

pardahlman avatar Aug 11 '17 18:08 pardahlman

Thank you for the quick response. We did try using 1.10.3, but the problem remained.

mbinot avatar Aug 14 '17 10:08 mbinot

The same occurs in 1.10.4. Is there any chance to merge @mbinot fix ?

1904885809 avatar Jan 12 '18 09:01 1904885809

Thanks for checking in. The 1.x version of RawRabbit is no longer under active development.

At the first glance of the fix, it should be OK. There is no current plans of releasing 1.10.5 - would it be an option to migrate to 2.0? If not, it should be possible to derive an custom ContextEnricher and register it as a internal service for RawRabbit.

pardahlman avatar Jan 13 '18 02:01 pardahlman