-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fix support set nettyMaxFrameSizeBytes on bookeeper config #7116
fix support set nettyMaxFrameSizeBytes on bookeeper config #7116
Conversation
/pulsarbot run-failure-checks |
conf/bookkeeper.conf
Outdated
@@ -268,6 +268,9 @@ serverTcpNoDelay=true | |||
# The Recv ByteBuf allocator max buf size. | |||
# byteBufAllocatorSizeMax=1048576 | |||
|
|||
# The maximum netty frame size in bytes. Any message received larger than this will be rejeted. Default value is 1G. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# The maximum netty frame size in bytes. Any message received larger than this will be rejeted. Default value is 1G. | |
# The maximum netty frame size in bytes. Any message received larger than this will be rejected. The default value is 1G. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liudezhi2098 It's better to use 5MB as the default value, in order to avoid the change of the default value to break the use of some scenes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use 5MB as the default value , will cause problems,can be changed to 5253120(
5242880 + Commands.MESSAGE_SIZE_FRAME_PADDING)
/pulsarbot run-failure-checks |
…meSizeBytes_config
/pulsarbot run-failure-checks |
…meSizeBytes_config
Master Issue: apache#7115 ## Motivation fix by default config , when the content of the sent message is 5M, it will appear that the current topic can no longer send the message. ## Modifications bookkeeper.con f ```java # The maximum netty frame size in bytes. Any message received larger than this will be rejeted. Default value is 1G. nettyMaxFrameSizeBytes=1073741824 ``` The default setting is 1G size, I think it should be larger than the broker's
Master Issue: #7115
Motivation
fix by default config , when the content of the sent message is 5M, it will appear that the current topic can no longer send the message.
Modifications
bookkeeper.con f
The default setting is 1G size, I think it should be larger than the broker's