Hey all! I'm using flink 1.19.1 and I am trying to...
# troubleshooting
h
Hey all! I'm using flink 1.19.1 and I am trying to replace the deprecated method
Copy code
registeredTypesWithKryoSerializers
with the following:
Copy code
Configuration config = new Configuration();

// register the class of the serializer as serializer for a type
config.set(PipelineOptions.SERIALIZATION_CONFIG, 
    "[org.example.MyCustomType: {type: kryo, kryo-type: registered, class: org.example.MyCustomSerializer}]");

StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(config);
but since I am using the flink-kubernetes-operator I get the following error ->
The main method caused an error: pipeline.serialization-config is only supported with the standard YAML config parser, please use "config.yaml" as the config file.
Is there any workaround for the deprecated method or should I wait for support from the flink-kubernetes-operator? Thanks 😄
f
AFAIK the operator does not support the new format yet, so probably there is no workaround ATM. but maybe @Gyula Fóra knows something i am not aware of