Error with MySQL connector

206 katselukertaa
Siirry ensimmäiseen lukemattomaan viestiin

midhunsuk...@gmail.com

lukematon,
12.4.2021 klo 7.34.3612.4.2021
vastaanottaja debezium
Error trace: org.apache.kafka.connect.errors.ConnectException: Could not find first log file name in binary log index file Error code: 1236; SQLSTATE: HY000.
        at io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:230)
        at io.debezium.connector.mysql.AbstractReader.failed(AbstractReader.java:196)
        at io.debezium.connector.mysql.BinlogReader$ReaderThreadLifecycleListener.onCommunicationFailure(BinlogReader.java:1129)
        at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:958)
        at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:594)
        at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:838)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.github.shyiko.mysql.binlog.network.ServerException: Could not find first log file name in binary log index file
        at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:922)

How to prevent this one?

Joel SALMERON VIVER

lukematon,
12.4.2021 klo 7.36.0412.4.2021
vastaanottaja debe...@googlegroups.com
Increase binlog retention, for starters…the error indicates that debezium cannot proceed to cdc as a replica, because the master has deleted the binlog file it needs from the position stored

El 12 abr 2021, a les 13:34, midhunsuk...@gmail.com <midhunsuk...@gmail.com> va escriure:

--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/4951471d-f387-4d9c-90ad-9fe92217ed12n%40googlegroups.com.

Midhun Sukumaran

lukematon,
13.4.2021 klo 13.13.3613.4.2021
vastaanottaja debe...@googlegroups.com
But I was running it on schema_only. Why should it look for unavailable logs in that case ? 

--
Regards,
Midhun

Gunnar Morling

lukematon,
14.4.2021 klo 11.23.3414.4.2021
vastaanottaja debezium
Also with "schema_only" snapshotting, the connector will read the actual binlog once the (schema) snapshot is complete. This mode doesn't mean "take a snapshot and stop".

--Gunnar

Midhun Sukumaran

lukematon,
20.4.2021 klo 5.41.3320.4.2021
vastaanottaja debe...@googlegroups.com
But it should only check for the available logs in the server right? You meant to say the server is missing some in between logs? 

You received this message because you are subscribed to a topic in the Google Groups "debezium" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/debezium/ldctrcXoSiU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/6b0b6c91-70b2-42d1-9505-03948909d79cn%40googlegroups.com.
--
Regards,
Midhun
Vastaa kaikille
Vastaa kirjoittajalle
Välitä
0 uutta viestiä