hello team, does flink cdc supports having kafka a...
# flink-cdc
j
hello team, does flink cdc supports having kafka as a source? We have existing debezium pipeline which are already writing to kafka, I am looking to experiment using flink cdc to write to iceberg. However I would love to reuse the existing architecture if possible. Thanks in advance 😄
✅ 1
h
What is your source?
j
ideally reading from kafka PG -> Debezium -> Kafka -> Flink CDC -> Iceberg
h
PG-> FLINKCDC->ICEBERG
this is refined one with Flink CDC
You can eliminate the
Debezium -> Kafka
from the pipeline
s
You can use regular Kafka source and Iceberg sink in this case, no need to use Flink CDC
h
@sap1ens what will be the advantage of Using DataStream instead of CDC?
s
You don’t need to use the DataStream API, you can use the Table API or SQL too, whatever works. Flink CDC is a change data capture tool and in Jeremy’s case data is already captured by Debezium and written to a Kafka topic, so there is no need to CDC on the Flink side.
h
if I am not wrong he is looking out to replace that by FlinkCDC
j
thanks @sap1ens that is what i am looking for! In my case, DBZ is an existing tool managed by the backend team, ideally we would want to tap on to that instead of redeploying something on our end. I guess to summarise, Flink CDC is not the right tool for my scenario 🙏
s
Yeah, the Kafka source has support for the Debezium format, so you can just use that 👍
🙌 1