Skip to content

Commit

Permalink
fix build error in RIP-28 at getmQclientFactory (apache#3753)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShannonDing authored and 上河 committed Mar 3, 2022
1 parent fcb7da5 commit 49e8af6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public static void doBenchOffset() throws RemotingException, InterruptedExceptio
Map<String, Long> offsetMap = new ConcurrentHashMap<>();
String statKey = "benchOffset";
TopicRouteData topicRouteData = defaultMQPullConsumers[0].getDefaultMQPullConsumerImpl().
getRebalanceImpl().getMqClientFactory().getMQClientAPIImpl().
getRebalanceImpl().getmQClientFactory().getMQClientAPIImpl().
getTopicRouteInfoFromNameServer(lmqTopic, 3000);
HashMap<Long, String> brokerMap = topicRouteData.getBrokerDatas().get(0).getBrokerAddrs();
if (brokerMap == null || brokerMap.isEmpty()) {
Expand Down Expand Up @@ -277,7 +277,7 @@ public void run() {
defaultMQPullConsumer
.getDefaultMQPullConsumerImpl()
.getRebalanceImpl()
.getMqClientFactory()
.getmQClientFactory()
.getMQClientAPIImpl().updateConsumerOffset(brokerAddress, updateHeader, 1000);
QueryConsumerOffsetRequestHeader queryHeader = new QueryConsumerOffsetRequestHeader();
queryHeader.setTopic(lmq);
Expand All @@ -286,7 +286,7 @@ public void run() {
long newOffset2 = defaultMQPullConsumer
.getDefaultMQPullConsumerImpl()
.getRebalanceImpl()
.getMqClientFactory()
.getmQClientFactory()
.getMQClientAPIImpl()
.queryConsumerOffset(brokerAddress, queryHeader, 1000);
offsetMap.put(lmq, newOffset2);
Expand Down

0 comments on commit 49e8af6

Please sign in to comment.