Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ protected BitConnectionConfig(BufferAllocator allocator, BootStrapContext contex
"bit.encryption.sasl.max_wrapped_size. Must be a positive integer in bytes with a recommended max value " +
"of %s", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE));
} else if (maxWrappedSize > RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE) {
logger.warn("The configured value of bit.encryption.sasl.max_wrapped_size is too big. This may cause higher" +
" memory pressure. [Details: Recommended max value is %s]", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE);
logger.warn("The configured value of bit.encryption.sasl.max_wrapped_size: {} is too big. This may cause " +
"higher memory pressure. [Details: Recommended max value is {}]",
maxWrappedSize, RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE);
}
encryptionContext.setMaxWrappedSize(maxWrappedSize);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ class UserConnectionConfig extends AbstractConnectionConfig {
"user.encryption.sasl.max_wrapped_size. Must be a positive integer in bytes with a recommended max value " +
"of %s", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE));
} else if (maxWrappedSize > RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE) {
logger.warn("The configured value of user.encryption.sasl.max_wrapped_size is too big. This may cause higher" +
" memory pressure. [Details: Recommended max value is %s]", RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE);
logger.warn("The configured value of user.encryption.sasl.max_wrapped_size: {} is too big. This may cause " +
"higher memory pressure. [Details: Recommended max value is {}]",
maxWrappedSize, RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE);
}
encryptionContext.setMaxWrappedSize(maxWrappedSize);

Expand Down