Skip to content

Commit

Permalink
fix: correct MessageExt encoding
Browse files Browse the repository at this point in the history
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
  • Loading branch information
lizhanhui committed Oct 22, 2024
1 parent 2d271ef commit 722e056
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public PutMessageResult encodeWithoutProperties(MessageExtBrokerInner msgInner)
public PutMessageResult encode(MessageExtBrokerInner msgInner) {
this.byteBuf.clear();

if (messageStoreConfig.isEnableLmq() && MixAll.topicAllowsLMQ(msgInner.getTopic())) {
if (messageStoreConfig.isEnableLmq() && msgInner.needDispatchLMQ()) {
return encodeWithoutProperties(msgInner);
}

Expand Down

0 comments on commit 722e056

Please sign in to comment.