flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[Bug] Oracle cdc repeatedly consumes snapshot data and does not consume binlog data when StartupOptions=initial

Open GeniusTian opened this issue 3 years ago • 0 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Flink version

1.13.5

Flink CDC version

2.1.1

Database and its version

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production and Non-CDB

Minimal reproduce step

I follow the steps on the official website (https://ververica.github.io/flink-cdc-connectors/release-2.1/content/connectors/oracle-cdc.html), everything is ok

What did you expect to see?

I expect the oracle cdc consume snapshot data only once and continus consume binlog data

What did you see instead?

when I consume the oracle data with flink sql client, it return all null value, when I consume the oracle data with datastream api ,it consumes snapshot data repeatedly and does not consume binlog data, what happened?

Anything else?

no

Are you willing to submit a PR?

  • [X] I'm willing to submit a PR!

GeniusTian avatar Mar 10 '23 08:03 GeniusTian