Re: using DefaultScalaModule

2021-01-05 Thread Arvid Heise
Hi Debasish, The idea of shading is actually to hide the dependencies of Flink from the user, such that he can use his own dependencies with appropriate versions. That means, you add jackson with jackson-module-scala into your application jar without worrying about Flink's jackson at all (just tr

using DefaultScalaModule

2020-12-22 Thread Debasish Ghosh
Hello - Flink 1.11 uses a shaded version of Jackson for serialization, which does not support jackson-module-scala. I need to register DefaultScalaModule for some Scala object serialization through Jackson. But when I do a mapper.registerModule(DefaultScalaModule), I get the following compilation