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

[Feature] Sink supports LZ4 compression with json format #27

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

banmoy
Copy link
Contributor

@banmoy banmoy commented Jun 28, 2024

After StarRocks supports lz4 compression for stream load json format in StarRocks/starrocks#43732, the connector can compress the json data before sending to StarRocks which will reduce the network traffic significantly. In the test to load clickbench data to starrocks, the compression ratio can be ~8, and the load performance has a 3.64% degradation which is acceptable. This RP depends on stream-load-sdk.
You can enable it with the following configuration

sink.properties.format=json
sink.properties.compression=lz4_frame

@meegoo meegoo merged commit 2971c85 into StarRocks:main Jul 22, 2024
3 checks passed
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.

3 participants