mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-30 18:10:44 +08:00
[ISSUE #3949] Update maven-checkstyle-plugin version
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ public class PullConsumerWithNamespace {
|
||||
return;
|
||||
}
|
||||
pullResult.getMsgFoundList().stream().forEach(
|
||||
(msg) -> System.out.printf("Topic is:%s, msgId is:%s%n" , msg.getTopic(), msg.getMsgId()));
|
||||
msg -> System.out.printf("Topic is:%s, msgId is:%s%n" , msg.getTopic(), msg.getMsgId()));
|
||||
}
|
||||
|
||||
private static void putMessageQueueOffset(MessageQueue mq, long offset) {
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ public class PushConsumerWithNamespace {
|
||||
defaultMQPushConsumer.setNamesrvAddr("127.0.0.1:9876");
|
||||
defaultMQPushConsumer.subscribe("topicTest", "*");
|
||||
defaultMQPushConsumer.registerMessageListener((MessageListenerConcurrently)(msgs, context) -> {
|
||||
msgs.stream().forEach((msg) -> {
|
||||
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.CONSUME_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user