You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/12/04 07:08:34 UTC

[GitHub] [skywalking] osiriswd commented on a change in pull request #5949: Support Kafka MirrorMaker 2.0 to replicate topics between Kafka clusters.

osiriswd commented on a change in pull request #5949:
URL: https://github.com/apache/skywalking/pull/5949#discussion_r535881371



##########
File path: oap-server/server-fetcher-plugin/kafka-fetcher-plugin/src/main/java/org/apache/skywalking/oap/server/analyzer/agent/kafka/module/KafkaFetcherConfig.java
##########
@@ -84,5 +84,29 @@
     private int kafkaHandlerThreadPoolSize;
 
     private int kafkaHandlerThreadPoolQueueSize;
-
+    
+    private String MM2SourceAlias = "";
+
+    private String MM2SourceSeparator = "";
+    
+    public String getTopicNameOfMetrics() {
+        return this.getMM2SourceAlias() + this.getMM2SourceSeparator() + this.topicNameOfMetrics;
+    }
+
+    public String getTopicNameOfProfiling() {
+        return this.getMM2SourceAlias() + this.getMM2SourceSeparator() + this.topicNameOfProfiling;
+    }
+
+    public String getTopicNameOfTracingSegments() {
+        return this.getMM2SourceAlias() + this.getMM2SourceSeparator() + this.topicNameOfTracingSegments;
+    }
+
+    public String getTopicNameOfManagements() {
+        return this.getMM2SourceAlias() + this.getMM2SourceSeparator() + this.topicNameOfManagements;
+    }
+
+    public String getTopicNameOfMeters() {
+        return this.getMM2SourceAlias() + this.getMM2SourceSeparator() + this.topicNameOfMeters;
+    }

Review comment:
       OK, working on it.




----------------------------------------------------------------
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:
users@infra.apache.org