odbozhou commented on code in PR #52:
URL: https://github.com/apache/rocketmq-connect/pull/52#discussion_r857075511
##########
rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/service/ClusterManagementServiceImpl.java:
##########
@@ -65,9 +66,20 @@ public ClusterManagementServiceImpl(ConnectConfig
connectConfig) {
* @param connectConfig
*/
private void prepare(ConnectConfig connectConfig) {
- if (connectConfig.isAutoCreateGroupEnable()) {
- ConnectUtil.createSubGroup(connectConfig,
this.defaultMQPullConsumer.getConsumerGroup());
+ String consumerGroup = this.defaultMQPullConsumer.getConsumerGroup();
+ Set<String> topicSet = ConnectUtil.fetchAllTopicList(connectConfig);
Review Comment:
Is it possible to just check whether a single topic exists?
--
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]