You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Petr Kuzel <pe...@it.eurofinseu.com.INVALID> on 2024/07/16 13:24:15 UTC

Re: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.32.0

Meanwhile I have been running integration tests with all Artemis
versions between 2.31.2 and 2.35.0.

The _AMQ_LARGE_COMPRESSED header observation changes
between 2.31.2 and 2.32.0. Hope the narrowing helps.

Reading 2.32.0 release notes, there is no evident match.

Is it an intentional change between 2.31.2 and 2.32.0, please?


--

  Mr. Petr Kužel, Software Engineer



________________________________
From: Petr Kuzel <pe...@it.eurofinseu.com.INVALID>
Sent: Tuesday, July 16, 2024 10:53 AM
To: users@activemq.apache.org <us...@activemq.apache.org>
Subject: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.35.0


Hi the Apache Artemis Community,

We send a failed message to an error queue via the CORE protocol with compression.
An idea is that the error queue messages should take as less resources as possible
till consumed or expired. It's a dependency on Artemis CORE protocol-specific feature
so we harnessed it just a little bit.

Now, after speculatively upgrading Artemis dependency from 2.31.2 and 2.35.0
(with no other changes) I can observe that the _AMQ_LARGE_COMPRESSED
header is not present anymore on the failed message in the error queue.
We use the _AMQ_LARGE_COMPRESSED header to deduce that the failed
message is compressed in the error queue.

First, is it an intentional change between 2.31.2 and 2.35.0, please?

  Best regards
  Petr


--

  Mr. Petr Kužel, Software Engineer

  Eurofins International Support Services s.à r.l.

  L-8399 Windhof



Re: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.32.0

Posted by Petr Kuzel <pe...@it.eurofinseu.com.INVALID>.
Thank you Robbie,

looking at the PR, my understanding is that since 2.32.0,
_AMQ_LARGE_COMPRESSED is a step closer to be a truly
internal header. It still leaks to consuming application but
it is always "false" because the application consumers
get the message body decompressed.

Before 2.32.0, it leaked a historical state, that the message
body was compressed while it was owned by the broker.

Is not it?

  Hope it helps
  Cc.


--

  Mr. Petr Kužel, Software Engineer



________________________________
From: Robbie Gemmell <ro...@gmail.com>
Sent: Wednesday, July 17, 2024 5:24 PM
To: users@activemq.apache.org <us...@activemq.apache.org>
Subject: Re: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.32.0



Unverified Sender: The sender of this email has not been verified. Review the content of the message carefully and verify the identity of the sender before acting on this email: replying, opening attachments or clicking links.


Give https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Factivemq-artemis%2Fcommit%2Ff56595b89b&data=05%7C02%7C%7Cff62290abe7a436d1bba08dca6748ff0%7C1a1dce2021b14beaa9d2130e9f1f6e2f%7C0%7C0%7C638568266765767484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=fGeM3yyEvvtw04BjBYO6E9ffHLlsQS6gqokLgCyMSIg%3D&reserved=0<https://github.com/apache/activemq-artemis/commit/f56595b89b> a
look, seems likely to relate.

It was included in 2.32.0 but erroneously referenced an earlier
released Jira from 2.29.0 and so isnt covered in the 2.32.0 release
notes (but is in the git commit report)

On Tue, 16 Jul 2024 at 14:24, Petr Kuzel
<pe...@it.eurofinseu.com.invalid> wrote:
>
> Meanwhile I have been running integration tests with all Artemis
> versions between 2.31.2 and 2.35.0.
>
> The _AMQ_LARGE_COMPRESSED header observation changes
> between 2.31.2 and 2.32.0. Hope the narrowing helps.
>
> Reading 2.32.0 release notes, there is no evident match.
>
> Is it an intentional change between 2.31.2 and 2.32.0, please?
>
>
> --
>
>   Mr. Petr Kužel, Software Engineer
>
>
>
> ________________________________
> From: Petr Kuzel <pe...@it.eurofinseu.com.INVALID>
> Sent: Tuesday, July 16, 2024 10:53 AM
> To: users@activemq.apache.org <us...@activemq.apache.org>
> Subject: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.35.0
>
>
> Hi the Apache Artemis Community,
>
> We send a failed message to an error queue via the CORE protocol with compression.
> An idea is that the error queue messages should take as less resources as possible
> till consumed or expired. It's a dependency on Artemis CORE protocol-specific feature
> so we harnessed it just a little bit.
>
> Now, after speculatively upgrading Artemis dependency from 2.31.2 and 2.35.0
> (with no other changes) I can observe that the _AMQ_LARGE_COMPRESSED
> header is not present anymore on the failed message in the error queue.
> We use the _AMQ_LARGE_COMPRESSED header to deduce that the failed
> message is compressed in the error queue.
>
> First, is it an intentional change between 2.31.2 and 2.35.0, please?
>
>   Best regards
>   Petr
>
>
> --
>
>   Mr. Petr Kužel, Software Engineer
>
>   Eurofins International Support Services s.à r.l.
>
>   L-8399 Windhof
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
For additional commands, e-mail: users-help@activemq.apache.org
For further information, visit: https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcontact&data=05%7C02%7C%7Cff62290abe7a436d1bba08dca6748ff0%7C1a1dce2021b14beaa9d2130e9f1f6e2f%7C0%7C0%7C638568266765779594%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=xwp3jCoQwqAvULGRcPmee1NhYI5XUILefwELiRBxT9c%3D&reserved=0<https://activemq.apache.org/contact>



Re: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.32.0

Posted by Robbie Gemmell <ro...@gmail.com>.
Give https://github.com/apache/activemq-artemis/commit/f56595b89b a
look, seems likely to relate.

It was included in 2.32.0 but erroneously referenced an earlier
released Jira from 2.29.0 and so isnt covered in the 2.32.0 release
notes (but is in the git commit report)

On Tue, 16 Jul 2024 at 14:24, Petr Kuzel
<pe...@it.eurofinseu.com.invalid> wrote:
>
> Meanwhile I have been running integration tests with all Artemis
> versions between 2.31.2 and 2.35.0.
>
> The _AMQ_LARGE_COMPRESSED header observation changes
> between 2.31.2 and 2.32.0. Hope the narrowing helps.
>
> Reading 2.32.0 release notes, there is no evident match.
>
> Is it an intentional change between 2.31.2 and 2.32.0, please?
>
>
> --
>
>   Mr. Petr Kužel, Software Engineer
>
>
>
> ________________________________
> From: Petr Kuzel <pe...@it.eurofinseu.com.INVALID>
> Sent: Tuesday, July 16, 2024 10:53 AM
> To: users@activemq.apache.org <us...@activemq.apache.org>
> Subject: Observations on _AMQ_LARGE_COMPRESSED have changed between 2.31.2 and 2.35.0
>
>
> Hi the Apache Artemis Community,
>
> We send a failed message to an error queue via the CORE protocol with compression.
> An idea is that the error queue messages should take as less resources as possible
> till consumed or expired. It's a dependency on Artemis CORE protocol-specific feature
> so we harnessed it just a little bit.
>
> Now, after speculatively upgrading Artemis dependency from 2.31.2 and 2.35.0
> (with no other changes) I can observe that the _AMQ_LARGE_COMPRESSED
> header is not present anymore on the failed message in the error queue.
> We use the _AMQ_LARGE_COMPRESSED header to deduce that the failed
> message is compressed in the error queue.
>
> First, is it an intentional change between 2.31.2 and 2.35.0, please?
>
>   Best regards
>   Petr
>
>
> --
>
>   Mr. Petr Kužel, Software Engineer
>
>   Eurofins International Support Services s.à r.l.
>
>   L-8399 Windhof
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
For additional commands, e-mail: users-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact