Hi, I’m trying to stream data using Flink to S3. I...
# troubleshooting
a
Hi, I’m trying to stream data using Flink to S3. I want to store the data in Apache Hoodi or Delta Lake. AWS Redshift will read this data. Could you give any recommendations on integrating Flink with Hoodie and Delta Lake?
r
There's a Delta Lake connector with support for Flink SQL: https://github.com/delta-io/delta/tree/master/connectors/flink#sql-support For Hudi I'd start here: https://hudi.apache.org/docs/flink-quick-start-guide/ Both look like they need their own catalog --- In case you can draw useful parallels, I wrote about writing to S3 with Iceberg here and here
a
which do you recommend more from flink integration perspective ?
r
I don't know, as I've not tried the other two. The different table formats have different strengths and weaknesses too.
g
@Artsiom Yudovin from a Flink integration perspective the best connector is apache paimon which just graduated the incubator and is native to flink. You can also find more why's and vision on the official roadmap page. Both delta lake and hudi have poor integration for Flink along with many limitations for the engine itself as they were create for more spark (and microbatch) kind of engines. I did lots of delta lake back in my Spark days and its amazing for spark and the respective ecosystem. And compared with Hudi, with Paimon you can get way better performance, efficiency, stabiliy, reliability and ease of use while also using 1/4 of the resources. (A PoC will convince you)
+ all migrations from Hudi to Paimon have resulted in a minimum of 30% TCO (with a few up to 80%)
r