Prajwal-banakar commented on issue #2806: URL: https://github.com/apache/fluss/issues/2806#issuecomment-4012475454
Hi, I'd like to pick this up! Here's my plan: - Add a `LogCompressionType` enum (NONE, LZ4, SNAPPY, ZSTD) for COMPACTED format, separate from the existing `ArrowCompressionType` - Encode the codec in bits 1–3 of the existing attributes byte in the batch header (bit 0 is already used by the AppendOnly flag) - Compress the records section in `MemoryLogRecordsCompactedBuilder.build()` after all records are written - Decompress on read in `DefaultLogRecordBatch.compactedRowRecordIterator()` by checking the attributes byte - Wire the config option through `CompactedWalBuilder` Happy to discuss the approach before starting if you have any feedback! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
