Re: When should we use flink-json instead of Jackson directly?

2022-10-28 Thread Yaroslav Tkachenko
Hey Vishal, I guess you're using the DataStream API? In this case, you have more control over data serialization, so it makes sense to use custom serialization logic. IMO, flink-json (as well as flink-avro, flink-csv, etc.) is really helpful when using Table API / SQL API, because it contains the

When should we use flink-json instead of Jackson directly?

2022-10-28 Thread Vishal Surana
I've been using Jackson to deserialize JSON messages into Scala classes and Java POJOs. The object mapper is heavily customized for our use cases. It seems that flink-json internally uses Jackson as well and allows for injecting our own mappers. Would there be any benefit of using flink-json instea