You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/08/15 14:41:50 UTC

[skywalking] branch queue created (now df3c5fb)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a change to branch queue
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at df3c5fb  Miss topic in the KafkaServiceManagementServiceClient

This branch includes the following new commits:

     new df3c5fb  Miss topic in the KafkaServiceManagementServiceClient

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking] 01/01: Miss topic in the KafkaServiceManagementServiceClient

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch queue
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit df3c5fb8eaf0d5eb7dcb80795573eb1e6829ac05
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sat Aug 15 22:41:28 2020 +0800

    Miss topic in the KafkaServiceManagementServiceClient
---
 .../apm/agent/core/kafka/KafkaServiceManagementServiceClient.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/src/main/java/org/apache/skywalking/apm/agent/core/kafka/KafkaServiceManagementServiceClient.java b/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/src/main/java/org/apache/skywalking/apm/agent/core/kafka/KafkaServiceManagementServiceClient.java
index 2f67911..2b99d50 100644
--- a/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/src/main/java/org/apache/skywalking/apm/agent/core/kafka/KafkaServiceManagementServiceClient.java
+++ b/apm-sniffer/optional-reporter-plugins/kafka-reporter-plugin/src/main/java/org/apache/skywalking/apm/agent/core/kafka/KafkaServiceManagementServiceClient.java
@@ -106,7 +106,7 @@ public class KafkaServiceManagementServiceClient implements BootService, Runnabl
         if (logger.isDebugEnable()) {
             logger.debug("Heartbeat reporting, instance: {}", ping.getServiceInstance());
         }
-        producer.send(new ProducerRecord<>(ping.getServiceInstance(), Bytes.wrap(ping.toByteArray())));
+        producer.send(new ProducerRecord<>(topic, ping.getServiceInstance(), Bytes.wrap(ping.toByteArray())));
     }
 
     @Override