buptxxb65 commented on code in PR #6417:
URL: https://github.com/apache/rocketmq/pull/6417#discussion_r1146563076
##########
client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultLitePullConsumerImpl.java:
##########
@@ -860,9 +861,16 @@ public class PullTaskImpl implements Runnable {
private final MessageQueue messageQueue;
private volatile boolean cancelled = false;
private Thread currentThread;
+ private final CommunicationMode communicationMode;
public PullTaskImpl(final MessageQueue messageQueue) {
this.messageQueue = messageQueue;
+ communicationMode = CommunicationMode.SYNC;
+ }
+
+ public PullTaskImpl(final MessageQueue messageQueue, CommunicationMode
communicationMode) {
+ this.messageQueue = messageQueue;
+ this.communicationMode = communicationMode;
Review Comment:
>
I have fixed the problem mentioned in comments. Thanks for your effort!
Please let me know if there is anything I can do for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]