Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anubhab/1664 #2020

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Anubhab/1664 #2020

wants to merge 6 commits into from

Conversation

Anubhab2003
Copy link

@Anubhab2003 Anubhab2003 commented Jan 23, 2025

feat(java): Implement Zstd-based MetaCompressor

This module provides core functionalities for the FURY project.

Zstd Compression Integration

This module now includes support for compressing and decompressing type metadata using the Zstd compression library.

Features:

  • Improved Compression: Zstd generally offers better compression ratios than the previous Deflater-based implementation.
  • ZstdMetaCompressor: A new ZstdMetaCompressor class has been implemented to handle Zstd compression and decompression.
  • Unit Tests: Unit tests have been added to verify the functionality and correctness of the ZstdMetaCompressor.

Usage:

  • To use the ZstdMetaCompressor, inject it into your service classes:

    @Autowired
    private MetaCompressor metaCompressor; 
    
    public void processMetadata(byte[] metadata) {
        byte[] compressedMetadata = metaCompressor.compress(metadata);
        // ... use compressedMetadata ...
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant