averemee-si / oracdc

Oracle database CDC (Change Data Capture)
http://a2-solutions.eu/
Apache License 2.0
105 stars 36 forks source link

ORA-1291 when gap exist in V$ARCHIVED_LOG.SEQUENCE# #25

Closed rveve closed 2 years ago

rveve commented 2 years ago

Hi,

Data is only Loaded during Initial table data load to kafka topic after that Data is not going to the topic. But whenever I restarted the kafka connect cluster, a2 connector publishes the remaining data to the topic.

This is very similar to this issue: https://github.com/averemee-si/oracdc/issues/13

Thank you.

averemee-si commented 2 years ago

Hi Farooq,

Just FYI: a2.tmpdir - Temporary directory for off-heap storage. Default - value of java.io.tmpdir JVM property a2.persistent.state.file - Name of file to store oracdc state between restart. Default $TMPDIR/oracdc.state

Regards, Aleksei

FarooqWW commented 2 years ago

Aleksei, I introduced following two parameters and restarted the cluster and it started working.

"a2.tmpdir": "/tmp/BREWiqfrmn", "a2.persistent.state.file": "/tmp/BREWiqfrmn/oracdc.state_BREWiqfrmn",

However when I try to deploy second connector and use similar parameters (different location for tmp and state file), I get same a2.include errors.

"a2.tmpdir": "/tmp/brewiqaumn", "a2.persistent.state.file": "/tmp/brewiqaumn/oracdc.state_brewiqaumn",

I have sent you the complete cluster log in email.

Regards, Farooq

averemee-si commented 2 years ago

Closed as fixed in https://github.com/averemee-si/oracdc/releases/tag/v0.9.9.1