We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PIP 132 Include message header size when check maxMessageSize for non-batch message on the client side
Current c++ the implementation also has this problem.
const bool compressed = !canAddToBatch(msg); const auto payload = compressed ? applyCompression(uncompressedPayload, conf_.getCompressionType()) : uncompressedPayload; const auto compressedSize = static_cast<uint32_t>(payload.readableBytes()); const auto maxMessageSize = static_cast<uint32_t>(ClientConnection::getMaxMessageSize()); if (compressed && compressedSize > ClientConnection::getMaxMessageSize() && !chunkingEnabled_) { LOG_WARN(getName() << " - compressed Message payload size " << payload.readableBytes() << " cannot exceed " << ClientConnection::getMaxMessageSize() << " bytes unless chunking is enabled"); handleFailedResult(ResultMessageTooBig); return; }
Refer java client PR: #14007
No response
This is a PR to match the Java implementation. It is best to first prove whether the problem exists in the C++ client, and then solve it.
The text was updated successfully, but these errors were encountered:
Please assign it to me.
Sorry, something went wrong.
[improve][client-c++]Support include message header size when check m…
f28f985
…axMessageSize (#17289) ### Motivation See: #17188 ### Modifications Support include message header size when check maxMessageSize for cpp client
The issue had no activity for 30 days, mark with Stale label.
No branches or pull requests
Search before asking
Motivation
PIP 132 Include message header size when check maxMessageSize for non-batch message on the client side
Current c++ the implementation also has this problem.
Solution
Refer java client PR: #14007
Alternatives
No response
Anything else?
This is a PR to match the Java implementation. It is best to first prove whether the problem exists in the C++ client, and then solve it.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: