mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
fix build error in RIP-28 at getmQclientFactory (#3753)
This commit is contained in:
@@ -242,7 +242,7 @@ public class BenchLmqStore {
|
||||
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()) {
|
||||
@@ -277,7 +277,7 @@ public class BenchLmqStore {
|
||||
defaultMQPullConsumer
|
||||
.getDefaultMQPullConsumerImpl()
|
||||
.getRebalanceImpl()
|
||||
.getMqClientFactory()
|
||||
.getmQClientFactory()
|
||||
.getMQClientAPIImpl().updateConsumerOffset(brokerAddress, updateHeader, 1000);
|
||||
QueryConsumerOffsetRequestHeader queryHeader = new QueryConsumerOffsetRequestHeader();
|
||||
queryHeader.setTopic(lmq);
|
||||
@@ -286,7 +286,7 @@ public class BenchLmqStore {
|
||||
long newOffset2 = defaultMQPullConsumer
|
||||
.getDefaultMQPullConsumerImpl()
|
||||
.getRebalanceImpl()
|
||||
.getMqClientFactory()
|
||||
.getmQClientFactory()
|
||||
.getMQClientAPIImpl()
|
||||
.queryConsumerOffset(brokerAddress, queryHeader, 1000);
|
||||
offsetMap.put(lmq, newOffset2);
|
||||
|
||||
Reference in New Issue
Block a user