chunjun icon indicating copy to clipboard operation
chunjun copied to clipboard

[Question][PostgreSQL Source] which situation is fit for jdbcConf.isIncrement()=true && jdbcConf.isPolling()=false

Open baisui1981 opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar question.

  • [X] I had googled my question but i didn't get any help.

  • [X] I had read the documentation: ChunJun doc but it didn't help me.

Description

which situation is fit for jdbcConf.isIncrement()=true && jdbcConf.isPolling()=false, as below

https://github.com/DTStack/chunjun/blob/0d3c3fb5602d79ec501f52d027560f43a18d8d3e/chunjun-connectors/chunjun-connector-jdbc-base/src/main/java/com/dtstack/chunjun/connector/jdbc/source/JdbcInputFormat.java#L140-L142

As my opinion, use CDC from db by polling mode ,the boolean jdbcConf.isIncrement() and jdbcConf.isPolling() both should be true, My question is ,in which statutation fit for:

 jdbcConf.isIncrement()=true && jdbcConf.isPolling()=false

Code of Conduct

baisui1981 avatar Aug 09 '22 05:08 baisui1981

1.The Polling mode extends the incremental mode(We distinguish whether a job is increment based on whether IncreColumn exists) 2.The polling mode must be the increment mode, but the increment mode is not necessarily the polling mode 3.The polling mode does not rely on endLocation

Paddy0523 avatar Aug 09 '22 05:08 Paddy0523