kafka-connect-jdbc
kafka-connect-jdbc copied to clipboard
Add query.parameters configuration parameter
Problem
We were unable to customize automatically generated SELECT in timestamp+incrementing
mode as we needed. We tried custom query
, suffix
and delay
configuration parameters, but none satisfied our needs. We would wanted something like the reverted incrementing+timestamp
mode with possibility to look behind on the timestamp column. It is very specific problem what we have, I might try to explain it in the comments if you want.
Solution
We did not want to add yet another mode or another delay / timeout configuration therefore we added the possibility to define the SELECT
query parameters based on user needs. Together with already existing query
configuration parameter this allows anyone to define and parametrize final SELECT
fully on his own.
Does this solution apply anywhere else?
- [ ] yes
- [x] no
Test Strategy
Testing done:
- [x] Unit tests
- [x] Integration tests
- [ ] System tests
- [ ] Manual tests
Release Plan
Hello @ManasjyotiSharma, @anupamaggarwal, @mukkachaitanya,
may I kindly ask you for a checking and approving this PR?
Thank you.