Skip to content

Commit

Permalink
[ISSUE apache#7039] fix: fix retry message filter when subtype is TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
HScarb committed Jul 18, 2023
1 parent 7996ec3 commit f8fc424
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ public boolean isMatchedByCommitLog(ByteBuffer msgBuffer, Map<String, String> pr
return true;
}

boolean isRetryTopic = subscriptionData.getTopic().startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX);

if (!isRetryTopic && ExpressionType.isTagType(subscriptionData.getExpressionType())) {
if (ExpressionType.isTagType(subscriptionData.getExpressionType())) {
return true;
}

boolean isRetryTopic = subscriptionData.getTopic().startsWith(MixAll.RETRY_GROUP_TOPIC_PREFIX);

ConsumerFilterData realFilterData = this.consumerFilterData;
Map<String, String> tempProperties = properties;
boolean decoded = false;
Expand Down

0 comments on commit f8fc424

Please sign in to comment.