Skip to content

Commit

Permalink
[ISSUE #3561] Optimize consuming messages with namespace example
Browse files Browse the repository at this point in the history
Co-authored-by: yangmingxu <mingxu914>
  • Loading branch information
ymingxu authored Mar 8, 2022
1 parent 7a5d937 commit febc083
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void main(String[] args) throws Exception {
msgs.stream().forEach((msg) -> {
System.out.printf("Msg topic is:%s, MsgId is:%s, reconsumeTimes is:%s%n", msg.getTopic() , msg.getMsgId(), msg.getReconsumeTimes());
});
return ConsumeConcurrentlyStatus.RECONSUME_LATER;
return ConsumeConcurrentlyStatus.CONSUME_SUCCESS;
});

defaultMQPushConsumer.start();
Expand Down

0 comments on commit febc083

Please sign in to comment.