Skip to content

Commit

Permalink
change default value.
Browse files Browse the repository at this point in the history
  • Loading branch information
thetumbled committed Feb 25, 2025
1 parent e558461 commit 315264d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ public class DeadLetterProducerConfig implements Serializable {

/**
* @see ProducerBuilder#enableBatching(boolean)
* default is false to keep the same behavior as before
* while the default value in ProducerConfigurationData is true
*/
private boolean batchingEnabled = true;
private boolean batchingEnabled = false;

/**
* @see ProducerBuilder#batchingMaxMessages(int)
Expand All @@ -49,8 +51,10 @@ public class DeadLetterProducerConfig implements Serializable {

/**
* @see ProducerBuilder#enableChunking(boolean)
* default is true to keep the same behavior as before
* while the default value in ProducerConfigurationData is false
*/
private boolean chunkingEnabled = false;
private boolean chunkingEnabled = true;

/**
* @see ProducerBuilder#chunkMaxMessageSize(int)
Expand Down

0 comments on commit 315264d

Please sign in to comment.