mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
kafka单个partition的发送未改为同步发送的bug fix
This commit is contained in:
@@ -105,7 +105,7 @@ public class CanalKafkaProducer implements CanalMQProducer {
|
||||
canalDestination.getPartition(),
|
||||
null,
|
||||
JSON.toJSONString(flatMessage));
|
||||
producer2.send(record);
|
||||
producer2.send(record).get();
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getMessage(), e);
|
||||
// producer.abortTransaction();
|
||||
|
||||
Reference in New Issue
Block a user