Skip to content

Commit

Permalink
Added zstd compression to conflict visualizer api
Browse files Browse the repository at this point in the history
John-Wiens committed Oct 23, 2024

Verified

This commit was signed with the committer’s verified signature.
darcyclarke Darcy Clarke
1 parent 7b11b87 commit 4315f17
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -380,7 +380,10 @@ public Properties createStreamProperties(String name) {
streamProps.put(ProducerConfig.DELIVERY_TIMEOUT_MS_CONFIG, FIVE_MINUTES_MS);

// Disable batching
streamProps.put(ProducerConfig.BATCH_SIZE_CONFIG, 0);
// streamProps.put(ProducerConfig.BATCH_SIZE_CONFIG, 0);

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

if (confluentCloudEnabled) {
streamProps.put("ssl.endpoint.identification.algorithm", "https");

0 comments on commit 4315f17

Please sign in to comment.