solace-samples-java-jcsmp icon indicating copy to clipboard operation
solace-samples-java-jcsmp copied to clipboard

SOL-106405: Added HowTo snippet for enabling payload compression

Open aelsammak opened this issue 1 year ago • 4 comments

This snippet demonstrates how to enable payload compression on a session.

aelsammak avatar Dec 21 '23 17:12 aelsammak

Hi @aelsammak, Any reason this is still marked as draft?

Mrc0113 avatar Feb 13 '24 19:02 Mrc0113

Hi @aelsammak, Any reason this is still marked as draft?

The process for developer snippets requires us to create a draft-PR with the new file that can be reviewed by DA.

Only once the feature is released, it can be converted to a regular PR. 😄

aelsammak avatar Feb 13 '24 19:02 aelsammak

The process for developer snippets requires us to create a draft-PR with the new file that can be reviewed by DA. Only once the feature is released, it can be converted to a regular PR. 😄

Bad question on my end. Do you know when the feature is scheduled to be released? (And thank you for following the process!)

Mrc0113 avatar Feb 13 '24 20:02 Mrc0113

The process for developer snippets requires us to create a draft-PR with the new file that can be reviewed by DA. Only once the feature is released, it can be converted to a regular PR. 😄

Bad question on my end. Do you know when the feature is scheduled to be released? (And thank you for following the process!)

No problem at all, a stale draft-PR would make me question it as well!

The feature is scheduled to be released in April.

aelsammak avatar Feb 14 '24 13:02 aelsammak

Is there a way to manually unzip the payload if not using a new Solace API? Like MQTT or something else. Is it just regular zip?

aaron-613 avatar May 01 '24 04:05 aaron-613

Is there a way to manually unzip the payload if not using a new Solace API? Like MQTT or something else. Is it just regular zip?

Currently, receivers using the new Solace API will automatically decompress the Solace published payload and there is no way to disable that. An older Solace API receiver will receive the payload as bytes it's up to them to handle the decompression in their own application. Since we are utilizing the existing content-encoding property, consumers can check if the payload was compressed by determining if this property contains 'deflate'.

aelsammak avatar May 01 '24 13:05 aelsammak

Has this feature been released yet?

aaron-613 avatar Jun 18 '24 22:06 aaron-613

Has this feature been released yet?

Not yet, but it is scheduled to be released in JCSMP/JMS 10.24.0 which should be out by the end of the month!

aelsammak avatar Jun 19 '24 12:06 aelsammak

@Mrc0113 JCSMP/JMS 10.24.0 was released. This PR is being converted from draft to ready-for-review!

aelsammak avatar Jul 02 '24 14:07 aelsammak