This commit is contained in:
rewerma
2019-07-11 01:05:11 +08:00
parent a93af74539
commit 64ff140304
5 changed files with 37 additions and 24 deletions

View File

@@ -133,7 +133,7 @@ public class CanalKafkaProducer implements CanalMQProducer {
canalDestination.getDynamicTopic());
for (Map.Entry<String, Message> entry : messageMap.entrySet()) {
String topicName = entry.getKey().replace('.', '_');
String topicName = entry.getKey(); //.replace('.', '_');
Message messageSub = entry.getValue();
if (logger.isDebugEnabled()) {
logger.debug("## Send message to kafka topic: " + topicName);