简体   繁体   中英

Dynamic table name or query for Cassandra connector / Dynamic sink of Flink job

My Flink job needs to write to different Cassandra tables for different time. For this scenario, either dynamic table name or dynamic query for Cassandra connector, or dynamic sink for the Flink job works for me.

There is a similar question 3 years ago, and the answer is no. ( Dynamic Table name in Cassandra Pojo Sink Flink ) I am wondering if there is any update.

Thanks a lot!

Nvm, I implemented my own Cassandra sink, which generates different query when sending the data to Cassandra. I referred to the existing CassandraRowSink in Flink. It works for this use case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM