Invitation sent again.
Justin On Thu, Feb 2, 2023 at 2:47 PM Haritha Desikan <hdesi...@spscommerce.com> wrote: > Could you also please send an invite to nsstgeo...@spscommerce.com<mailto: > nsstgeo...@spscommerce.com>? This is the email of the dev person who is > facing this issue. > > Thank you. > > From: Justin Bertram <jbert...@apache.org> > Date: Thursday, February 2, 2023 at 3:39 PM > To: users@activemq.apache.org <users@activemq.apache.org> > Subject: Re: Redelivered messages do not get transported to broker with > consumers > [You don't often get email from jbert...@apache.org. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] > > Invitation sent. > > > Justin > > On Thu, Feb 2, 2023 at 2:34 PM Haritha Desikan <hdesi...@spscommerce.com> > wrote: > > > Actually, slack works too. Can I please get an invite to the slack > channel? > > > > From: Justin Bertram <jbert...@apache.org> > > Date: Thursday, February 2, 2023 at 3:29 PM > > To: users@activemq.apache.org <users@activemq.apache.org> > > Subject: Re: Redelivered messages do not get transported to broker with > > consumers > > [You don't often get email from jbert...@apache.org. Learn why this is > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > > Is it possible to arrange a call with one of the community support > > members so that I can ask one of our application owners to explain the > > issue in detail? > > > > I don't want to speak for others, but in my experience this is not the > kind > > of support provided by the community. Community support is provided on a > > volunteer basis free of charge and pretty much exclusively comes via > > written channels of communication (i.e. mailing lists, Slack, Jira, > etc.). > > If you're looking for something beyond this I'd suggest browsing the > > Commercial Support options listed on the website [1]. > > > > If you're convinced you're hitting a bug then the absolute best thing you > > can do is report it [2] and provide the simplest way possible to > reproduce > > the problem. > > > > > > Justin > > > > [1] > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fsupport&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=V1hp71TnuPR8ydzHip%2B4Ll7WKFbG%2Fw2EUQGJP0UF2Lw%3D&reserved=0 > > [2] > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fissues&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CoFj1EJBdblOr2kOIWH7tTx9%2BCVdgPJClBUroAkUnes%3D&reserved=0 > > > > On Thu, Feb 2, 2023 at 2:16 PM Haritha Desikan <hdesi...@spscommerce.com > > > > wrote: > > > > > Is it possible to arrange a call with one of the community support > > members > > > so that I can ask one of our application owners to explain the issue in > > > detail? > > > > > > From: Haritha Desikan <hdesi...@spscommerce.com> > > > Date: Thursday, February 2, 2023 at 3:14 PM > > > To: users@activemq.apache.org <users@activemq.apache.org> > > > Subject: Re: Redelivered messages do not get transported to broker with > > > consumers > > > Another issue I am seeing – the maximum redeliveries on a broker is set > > to > > > 12 before it is sent to DLQ but here (in screenshot) I am seeing the > > > redeliveries have crossed the threshold but still messages are not sent > > to > > > DLQ. > > > > > > The Broker’s config has this setting : > > > > > > <plugins> > > > <statisticsBrokerPlugin/> > > > <redeliveryPlugin fallbackToDeadLetter="true" > > > sendToDlqIfMaxRetriesExceeded="true"> > > > <redeliveryPolicyMap> > > > <redeliveryPolicyMap> > > > <redeliveryPolicyEntries> > > > <redeliveryPolicy maximumRedeliveries="12" queue=">"/> > > > </redeliveryPolicyEntries> > > > </redeliveryPolicyMap> > > > </redeliveryPolicyMap> > > > </redeliveryPlugin> > > > </plugins> > > > > > > From: Haritha Desikan <hdesi...@spscommerce.com> > > > Date: Thursday, February 2, 2023 at 2:35 PM > > > To: users@activemq.apache.org <users@activemq.apache.org> > > > Subject: Re: Redelivered messages do not get transported to broker with > > > consumers > > > Can message consumers use the pooledConnectionFactory class? AWS Active > > MQ > > > documentation specifically has this note “Message consumers should > never > > > use the PooledConnectionFactory class.” Please advise. > > > > > > From: Haritha Desikan <hdesi...@spscommerce.com> > > > Date: Thursday, February 2, 2023 at 2:05 PM > > > To: users@activemq.apache.org <users@activemq.apache.org> > > > Subject: Re: Redelivered messages do not get transported to broker with > > > consumers > > > This is the reply I got from one of the app developers using these > > brokers. > > > > > > <dependency> > > > <groupId>org.apache.camel.springboot</groupId> > > > <artifactId>camel-activemq-starter</artifactId> > > > </dependency> > > > 1:45< > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363556427969&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lR3TfpRYDM6I%2FG%2FMP7GBmDVyQQU4BjOWwueOVVIoaz4%3D&reserved=0 > > > < > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363556427969&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lR3TfpRYDM6I%2FG%2FMP7GBmDVyQQU4BjOWwueOVVIoaz4%3D&reserved=0 > > > >> > > > this lib is bundled > > > 1:46< > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363577673069&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sY2Wr6cLJbUssPYvyEOy0AHC%2BRg1cYgX4PNzwf9CzdE%3D&reserved=0 > > > < > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363577673069&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sY2Wr6cLJbUssPYvyEOy0AHC%2BRg1cYgX4PNzwf9CzdE%3D&reserved=0 > > > >> > > > <dependency> > > > <groupId>org.apache.activemq</groupId> > > > <artifactId>activemq-broker</artifactId> > > > </dependency> > > > 1:46< > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363583521729&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JaV0g0SaO4y9gRa7glhM0mtkyN%2FPU2%2FMbTFZay3wdb4%3D&reserved=0 > > > < > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363583521729&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JaV0g0SaO4y9gRa7glhM0mtkyN%2FPU2%2FMbTFZay3wdb4%3D&reserved=0 > > > >> > > > version 5.16.4 > > > 1:47< > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363639193999&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aNOvW9KXpxlNRInOTbMmgGJjpI%2FbM%2BhQwnNuSpQf8lI%3D&reserved=0 > > > < > > > > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363639193999&data=05%7C01%7Chdesikan%40spscommerce.com%7C2ad8a7db5c9f4a0817e508db055d9bdc%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109671845401685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aNOvW9KXpxlNRInOTbMmgGJjpI%2FbM%2BhQwnNuSpQf8lI%3D&reserved=0 > > > >> > > > 2. I'm only testing a single instance of the the app and all 10 > consumers > > > are always on the same broker > > > > > > ________________________________ > > > From: Justin Bertram <jbert...@apache.org> > > > Sent: Thursday, February 2, 2023 1:28:35 PM > > > To: users@activemq.apache.org <users@activemq.apache.org> > > > Subject: Re: Redelivered messages do not get transported to broker with > > > consumers > > > > > > [You don't often get email from jbert...@apache.org. Learn why this is > > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > > > What client library (or libraries) are your Java-based applications > > using? > > > > > > Out of curiosity, how come you're using a network of 3 broker pairs if > > you > > > have so few consumers? > > > > > > > > > Justin > > > > > > On Thu, Feb 2, 2023 at 12:09 PM Haritha Desikan < > > hdesi...@spscommerce.com> > > > wrote: > > > > > > > Hi Justin, > > > > > > > > We are using broker version 5.17.2. All our clients are mostly Java > > based > > > > applications except for one python based app. We have 3 > active/standby > > > > pairs of Active MQ brokers connected in this fashion – broker 1 has > > > duplex > > > > connections to both broker 2 and broker 3 , broker 2 has one duplex > > > > connection to broker 3. We have a load balancer in the front that > > directs > > > > traffic to these three brokers. > > > > We notice that there is only one active consumer at a time on either > > one > > > > of the three brokers and the remaining two brokers have no consumers > > > (only > > > > has network connectors that connects them to the other broker). > > > > > > > > This particular issue is only happening when messages are > “redelivered” > > > to > > > > a queue and the “JMXDeliveryCount” is more than 2. For example, lets > > say > > > > broker 3 has “redelivered” messages on queue X and then our app > > connects > > > to > > > > broker 2, messages on broker 3 do not move to broker 2 (they just sit > > > there > > > > and broker 2 does not receive any of the redelivered messages). > > However, > > > > after multiple attempts when our app finally connects to broker 3 > > (where > > > > redelivered messages are sitting), messages get consumed. This might > > not > > > be > > > > a bigger issue for apps with multiple instances however we have apps > > > with a > > > > single instance that could get affected by this issue. > > > > > > > > Please note that “messages” in the above paragraph refer to only > > > > “redelivered” messages. > > > > > > > > > > > > From: Justin Bertram <jbert...@apache.org> > > > > Date: Thursday, February 2, 2023 at 12:03 PM > > > > To: users@activemq.apache.org <users@activemq.apache.org> > > > > Subject: Re: Redelivered messages do not get transported to broker > with > > > > consumers > > > > [You don't often get email from jbert...@apache.org. Learn why this > is > > > > important at https://aka.ms/LearnAboutSenderIdentification ] > > > > > > > > What version of the broker are you using? What kinds of clients are > you > > > > using? How are your brokers configured? What is the distribution of > > > > consumers across the queues in the cluster? > > > > > > > > > > > > Justin > > > > > > > > On Thu, Feb 2, 2023 at 10:57 AM Haritha Desikan < > > > hdesi...@spscommerce.com> > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > Our company recently decided to make a shift to Active MQ. Our > > > > > infrastructure currently uses a mesh of three active/standby broker > > > pairs > > > > > and we have been facing an issue with the brokers where redelivered > > > > > messages sitting on a queue in one particular broker are not being > > > > > transported to the broker with active consumers on it. > > > > > > > > > > Please provide some guidance/insight as to what can be done in such > > > > > scenarios. > > > > > > > > > > Thank you, > > > > > Haritha > > > > > Cloud Systems Engineer > > > > > SPS Commerce > > > > > > > > > > > > > > > > > > > >