Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason918 committed Nov 23, 2021
1 parent bccd0e8 commit ebe97ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ protected boolean isExceedMaximumMessageSize(int size) {
//invalid setting means this check is disabled.
return false;
}
if (topicMaxMessageSize >= brokerService.pulsar().getConfig().getMaxMessageSize()) {
if (topicMaxMessageSize >= brokerService.pulsar().getConfiguration().getMaxMessageSize()) {
//broker setting does not contain message header and already handled in client and frameDecoder.
return false;
}
Expand Down

0 comments on commit ebe97ee

Please sign in to comment.