Compression?
See original GitHub issueSorry if this is obvious, but when the pulsar client is attempting to decompress a message what compressionType is used? Also as a consumer can I specify an individual compressionType in any way (assuming I know how the message was initially compressed)? I am running into the following error upon receiving a message:
info: PulsarLogger[0]
consumer(1, , -1) Message 5*****9:41088:-1 was discarded due to DecompressionError
fail: PulsarLogger[0]
consumer(1, , -1) Decompression exception 5175679:41089:-1
ComponentAce.Compression.Libs.zlib.ZStreamException: inflating:
at ComponentAce.Compression.Libs.zlib.ZOutputStream.finish()
at Pulsar.Client.Internal.CompressionCodec.ZLibCompression.zlib(Boolean isEncode, Int32 capacity, Byte[] bytes, Int32 payloadLength) in D:\Work\Pulsar.Client\src\Pulsar.Client\Internal\Compression .fs:line 30
at Pulsar.Client.Internal.CompressionCodec.ZLibCompression.Pulsar-Client-Internal-ICompressionCodec-Decode(Int32 uncompressedSize, Byte[] src) in D:\Work\Pulsar.Client\src\Pulsar.Client\Internal\Compression .fs:line 35
at Pulsar.Client.Api.ConsumerImpl`1.decompressMessage(RawMessage rawMessage, Boolean isChunked) in D:\Work\Pulsar.Client\src\Pulsar.Client\Internal\ConsumerImpl.fs:line 485
info: PulsarLogger[0]
consumer(1, , -1) Message 5*****9:41089:-1 was discarded due to DecompressionError
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Compression Definition & Meaning
The meaning of COMPRESSION is the act, process, or result of compressing. How to use compression in a sentence.
Read more >Compression Definition & Meaning
A force that tends to shorten or squeeze something, decreasing its volume. · The degree to which a substance has decreased in size...
Read more >Compression | Pressure, Force & Volume
Compression, decrease in volume of any object or substance resulting from applied stress. Compression may be undergone by solids, liquids, ...
Read more >Compression
Compression (physics), size reduction due to forces ; Compression member, a structural element such as a column ; Compressibility, susceptibility to compression ......
Read more >Compression (physics)
In mechanics, compression is the application of balanced inward ("pushing") forces to different points on a material or structure, that is, forces with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Lanayx Sorry for the delayed response. HOWEVER, you bug fix did the trick! Much appreciated!
@MikeDotNetty After several hours of dancing around the zlib library I’ve managed to find the similar setup to Java, so closing the ticket. 1.7.2 is released with the fix