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

Adding zstd compression to GeoJsonConverter #73

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Conversation

John-Wiens
Copy link
Collaborator

No description provided.

@@ -119,6 +119,10 @@ public Properties createStreamProperties(String name) {
// Configure the state store location
streamProps.put(StreamsConfig.STATE_DIR_CONFIG, "/var/lib/ode/kafka-streams");

streamProps.put(ProducerConfig.COMPRESSION_TYPE_CONFIG, "zstd");

streamProps.put(ProducerConfig.LINGER_MS_CONFIG, 50);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should make the compression type and/or linger configurable in .env/application.yaml?

Copy link
Collaborator

@drewjj drewjj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I definitely agree with Ivan on maybe making the compression type configurable but maybe zstd is just plainly the better choice.

@John-Wiens John-Wiens merged commit e3ff03c into develop Oct 28, 2024
3 checks passed
@John-Wiens John-Wiens deleted the compression branch October 28, 2024 17:15
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