zendesk / maxwell

Maxwell's daemon, a mysql-to-json kafka producer
https://maxwells-daemon.io/
Other
4.05k stars 1.01k forks source link

maxwell 1.13.2 夜里突然无响应,binlog不能产生kafka消息了 #2086

Open chenweiyanfa opened 8 months ago

okami-chen commented 2 months ago

是不是和我这一样,卡住了

10:41:54,394 INFO  Maxwell - Starting Maxwell. maxMemory: 32178700288 bufferMemoryUsage: 0.25
10:41:55,591 INFO  Maxwell - Maxwell v1.35.5 is booting (RabbitmqProducer), starting at Position[BinlogPosition[mysql-bin.000045:724219662], lastHeartbeat=0]
10:41:56,153 INFO  MysqlSavedSchema - Restoring schema id 27 (last modified at Position[BinlogPosition[mysql-bin.000037:186501328], lastHeartbeat=0])
10:41:56,236 INFO  MysqlSavedSchema - Restoring schema id 1 (last modified at Position[BinlogPosition[mysql-bin.000032:1055018382], lastHeartbeat=0])
10:41:56,304 INFO  MysqlSavedSchema - beginning to play deltas...
10:41:56,319 INFO  MysqlSavedSchema - played 26 deltas in 11ms
10:41:56,340 INFO  BinlogConnectorReplicator - Setting initial binlog pos to: mysql-bin.000045:724219662
10:41:57,736 INFO  BinaryLogClient - Connected to 10.10.10.66:3306 at mysql-bin.000045/724219662 (sid:6379, cid:19857148)
10:41:57,736 INFO  BinlogConnectorReplicator - Binlog connected.
10:41:57,970 WARN  BinlogConnectorReplicator - Started replication stream inside a transaction.  This shouldn't normally happen.
10:41:57,970 WARN  BinlogConnectorReplicator - Assuming new transaction at unexpected event:com.zendesk.maxwell.replication.BinlogConnectorEvent@606fc505
liutao-123 commented 2 months ago

是不是事务的原因,有次mysql开了XA事务就导致了一直无法消费binlog