Miss topic in the KafkaServiceManagementServiceClient (#5326)

Co-authored-by: Daming <zteny@foxmail.com>
This commit is contained in:
吴晟 Wu Sheng 2020-08-16 07:05:40 +08:00 committed by GitHub
parent 68eba154c4
commit f731c25856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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