Hi, we are migrating from Flink 1.20 to Flink 2.0....
# troubleshooting
p
Hi, we are migrating from Flink 1.20 to Flink 2.0. We have this .setRegisterTypes() which is already removed in Flink 2.0. Is it correct, even we use 2-3 deep class as long as they are Java classes, with primitive types and collections, it is no longer required to setRegisterPojoType(Myclass.class) in flink? Also even I try to set
env.setRegisterPojoType(Class<?> type)
this does not exist. Any feed back is appreciated. Thanks
Copy code
StreamExecutionEnvironment env = new StreamExcecutionEnvironment();
env.setRegistrTypes(MyClass.class);