vongosling commented on a change in pull request #87: [ISSUE #86] add feature: 
consumer listener enabled configuration
URL: https://github.com/apache/rocketmq-spring/pull/87#discussion_r292817981
 
 

 ##########
 File path: 
rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/autoconfigure/RocketMQProperties.java
 ##########
 @@ -207,4 +220,32 @@ public void setCustomizedTraceTopic(String 
customizedTraceTopic) {
             this.customizedTraceTopic = customizedTraceTopic;
         }
     }
+
+    public Consumer getConsumer() {
+        return consumer;
+    }
+
+    public void setConsumer(Consumer consumer) {
+        this.consumer = consumer;
+    }
+
+    public static final class Consumer {
+        /**
+         * listener configuration container
+         * the pattern is like this:
+         * group1.topic1 = false
+         * group2.topic2 = true
+         * group3.topic3 = false
+         */
+        private Map<String, Map<String, Boolean>> listeners = new HashMap<>();
 
 Review comment:
   I could not figure out the comment here. could you make a clear why you use 
the complicated map structure?
   
   BTW, if I got a reasonable answer from your followup,  I really like to help 
to merge the pr.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to