-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix behavior for li.large.message.segment.wrapping (#158)
The li.large.message.segment.wrapping producer property is supposed to force the producer to always wrap messages in the large message envelope, even if the message is not larger than max.message.segment.bytes in size. This patch addresses two issues with this: 1. This option is enabled by default, which does not seem like an ideal default value for this option. Since it was effectively disabled due to a bug anyway, it's safe to make the new default value "false." 2. The li.large.message.segment.wrapping property is honored and a single-segment large message is created, but the default serializer ends up just stripping away the large message segment envelope because the segment count is 1. This extra branch is removed so the feature works correctly. Added an integration test that shows the li.large.message.segment.wrapping functioning correctly when enabled.
- Loading branch information
Showing
3 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters