amqproxy icon indicating copy to clipboard operation
amqproxy copied to clipboard

Provide a way to compress/decompress messages going through the proxy

Open johanrhodin opened this issue 1 year ago • 3 comments

Publishing Client -> Proxy (compress) -> Broker -> Proxy (decompress) -> Consuming client.

Could also (potentially more complicated) provide a way to encrypt/decrypt message bodies.

johanrhodin avatar Jul 17 '24 03:07 johanrhodin

I think body encryption may be pretty simple and straight forward.

Dunno how compression would work. Your thinking about compressing all network traffic, not just part of the frames, right? That would require compression and decompression in the broker too.

spuun avatar Sep 27 '24 10:09 spuun

Would come with a lot of cavets. Like adding Content-Transfer header etc to know which bodies to decompress and which to decrypt. What about messages from other sources? What about clients that want to consume messages published with compression/encryption?

carlhoerberg avatar Sep 27 '24 11:09 carlhoerberg

Right. All traffic would have to go through amqproxy, and the same instance (or they must have the same keep). And key rotation is a problem. So, adding the code to encrypt/decrypt is straight forward, but to do a reasonable administration is not.

spuun avatar Sep 27 '24 11:09 spuun