You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "fujian-zfj (via GitHub)" <gi...@apache.org> on 2023/07/28 09:24:36 UTC
[GitHub] [rocketmq] fujian-zfj opened a new pull request, #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
fujian-zfj opened a new pull request, #7092:
URL: https://github.com/apache/rocketmq/pull/7092
### Which Issue(s) This PR Fixes
Fixes #7064
### Brief Description
This proposal mainly optimizes and solves the existing perfermance problems in the million-topic scenario :
1. Metadata like topic, subscription, consumerOffset implement kv storage
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278692637
##########
example/src/main/java/org/apache/rocketmq/example/quickstart/Consumer.java:
##########
@@ -50,7 +50,7 @@ public static void main(String[] args) throws MQClientException {
* </pre>
*/
// Uncomment the following line while debugging, namesrvAddr should be set to your local address
-// consumer.setNamesrvAddr(DEFAULT_NAMESRVADDR);
Review Comment:
OK
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#issuecomment-1657516404
> @fujian-zfj Fixed bazel build scripts for you
OK,thank you
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278565842
##########
broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:
##########
@@ -62,6 +62,10 @@ public ConsumerOffsetManager(BrokerController brokerController) {
this.brokerController = brokerController;
}
+ protected void removeConsumerOffset(String topicAtGroup) {
+
+ }
Review Comment:
This interface is mainly to let RocksDBConsumeOffsetManager to override and delete the data in rocksdb, you can the overridden method in RocksDBConsumeOffsetManager.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278649263
##########
client/src/main/java/org/apache/rocketmq/client/consumer/store/RocksDBOffsetSerializeWrapper.java:
##########
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.rocketmq.client.consumer.store;
Review Comment:
OffsetSerializeWrapper is used in client module, RocksDBOffsetSerializeWrapper is used in broker module instead of client module, so I think this is not appropriate.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] lizhanhui commented on pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "lizhanhui (via GitHub)" <gi...@apache.org>.
lizhanhui commented on PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#issuecomment-1657508209
@fujian-zfj Fixed bazel build scripts for you
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278657835
##########
client/src/main/java/org/apache/rocketmq/client/consumer/store/RocksDBOffsetSerializeWrapper.java:
##########
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.rocketmq.client.consumer.store;
Review Comment:
OK
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278565842
##########
broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:
##########
@@ -62,6 +62,10 @@ public ConsumerOffsetManager(BrokerController brokerController) {
this.brokerController = brokerController;
}
+ protected void removeConsumerOffset(String topicAtGroup) {
+
+ }
Review Comment:
This interface is mainly to let RocksDBConsumeOffsetManager to override and delete the data in rocksdb, you can see the overridden method in RocksDBConsumeOffsetManager.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin merged pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin merged PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] codecov-commenter commented on pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#issuecomment-1657003343
## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
> Merging [#7092](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (0cc5cff) into [develop](https://app.codecov.io/gh/apache/rocketmq/commit/d429bd72dfae0901f4325c8e9c6ce631286e40d4?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (d429bd7) will **decrease** coverage by `0.23%`.
> The diff coverage is `20.56%`.
```diff
@@ Coverage Diff @@
## develop #7092 +/- ##
=============================================
- Coverage 42.73% 42.50% -0.23%
- Complexity 9295 9339 +44
=============================================
Files 1138 1149 +11
Lines 81254 81963 +709
Branches 10637 10689 +52
=============================================
+ Hits 34721 34837 +116
- Misses 42190 42774 +584
- Partials 4343 4352 +9
```
| [Files Changed](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...broker/offset/RocksDBLmqConsumerOffsetManager.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YnJva2VyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9icm9rZXIvb2Zmc2V0L1JvY2tzREJMbXFDb25zdW1lck9mZnNldE1hbmFnZXIuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...bscription/RocksDBLmqSubscriptionGroupManager.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YnJva2VyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9icm9rZXIvc3Vic2NyaXB0aW9uL1JvY2tzREJMbXFTdWJzY3JpcHRpb25Hcm91cE1hbmFnZXIuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...tmq/broker/topic/RocksDBLmqTopicConfigManager.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YnJva2VyL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9icm9rZXIvdG9waWMvUm9ja3NEQkxtcVRvcGljQ29uZmlnTWFuYWdlci5qYXZh) | `0.00% <0.00%> (ø)` | |
| [.../consumer/store/RocksDBOffsetSerializeWrapper.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y2xpZW50L3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9jbGllbnQvY29uc3VtZXIvc3RvcmUvUm9ja3NEQk9mZnNldFNlcmlhbGl6ZVdyYXBwZXIuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...java/org/apache/rocketmq/common/ConfigManager.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9jb21tb24vQ29uZmlnTWFuYWdlci5qYXZh) | `56.41% <0.00%> (-3.05%)` | :arrow_down: |
| [...rocketmq/common/config/AbstractRocksDBStorage.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9jb21tb24vY29uZmlnL0Fic3RyYWN0Um9ja3NEQlN0b3JhZ2UuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...e/rocketmq/common/config/ConfigRocksDBStorage.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9jb21tb24vY29uZmlnL0NvbmZpZ1JvY2tzREJTdG9yYWdlLmphdmE=) | `0.00% <0.00%> (ø)` | |
| [...e/rocketmq/common/config/RocksDBConfigManager.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9jb21tb24vY29uZmlnL1JvY2tzREJDb25maWdNYW5hZ2VyLmphdmE=) | `0.00% <0.00%> (ø)` | |
| [...rg/apache/rocketmq/common/constant/LoggerName.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Y29tbW9uL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9yb2NrZXRtcS9jb21tb24vY29uc3RhbnQvTG9nZ2VyTmFtZS5qYXZh) | `0.00% <ø> (ø)` | |
| [...ache/rocketmq/store/config/MessageStoreConfig.java](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3RvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3JvY2tldG1xL3N0b3JlL2NvbmZpZy9NZXNzYWdlU3RvcmVDb25maWcuamF2YQ==) | `56.48% <29.41%> (-0.70%)` | :arrow_down: |
| ... and [9 more](https://app.codecov.io/gh/apache/rocketmq/pull/7092?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
... and [23 files with indirect coverage changes](https://app.codecov.io/gh/apache/rocketmq/pull/7092/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278649468
##########
example/src/main/java/org/apache/rocketmq/example/quickstart/Consumer.java:
##########
@@ -50,7 +50,7 @@ public static void main(String[] args) throws MQClientException {
* </pre>
*/
// Uncomment the following line while debugging, namesrvAddr should be set to your local address
-// consumer.setNamesrvAddr(DEFAULT_NAMESRVADDR);
Review Comment:
> If you want to modify this, please also modify the comments above.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] RongtongJin commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278556787
##########
broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:
##########
@@ -62,6 +62,10 @@ public ConsumerOffsetManager(BrokerController brokerController) {
this.brokerController = brokerController;
}
+ protected void removeConsumerOffset(String topicAtGroup) {
+
+ }
Review Comment:
When was the method called?
##########
client/src/main/java/org/apache/rocketmq/client/consumer/store/RocksDBOffsetSerializeWrapper.java:
##########
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.rocketmq.client.consumer.store;
Review Comment:
Putting this class in the client module is a bit strange
##########
example/src/main/java/org/apache/rocketmq/example/quickstart/Consumer.java:
##########
@@ -50,7 +50,7 @@ public static void main(String[] args) throws MQClientException {
* </pre>
*/
// Uncomment the following line while debugging, namesrvAddr should be set to your local address
-// consumer.setNamesrvAddr(DEFAULT_NAMESRVADDR);
Review Comment:
It would be better not to modify this
##########
broker/src/main/java/org/apache/rocketmq/broker/offset/ConsumerOffsetManager.java:
##########
@@ -62,6 +62,10 @@ public ConsumerOffsetManager(BrokerController brokerController) {
this.brokerController = brokerController;
}
+ protected void removeConsumerOffset(String topicAtGroup) {
+
+ }
Review Comment:
When was the method called?
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278566087
##########
client/src/main/java/org/apache/rocketmq/client/consumer/store/RocksDBOffsetSerializeWrapper.java:
##########
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.rocketmq.client.consumer.store;
Review Comment:
Because I found OffsetSerializeWrapper under the client moudle, so I put RocksDBOffsetSerializeWrapper in this directory as well.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] fujian-zfj commented on a diff in pull request #7092: [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata
Posted by "fujian-zfj (via GitHub)" <gi...@apache.org>.
fujian-zfj commented on code in PR #7092:
URL: https://github.com/apache/rocketmq/pull/7092#discussion_r1278566145
##########
example/src/main/java/org/apache/rocketmq/example/quickstart/Consumer.java:
##########
@@ -50,7 +50,7 @@ public static void main(String[] args) throws MQClientException {
* </pre>
*/
// Uncomment the following line while debugging, namesrvAddr should be set to your local address
-// consumer.setNamesrvAddr(DEFAULT_NAMESRVADDR);
Review Comment:
why
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org