davidradl commented on code in PR #25799:
URL: https://github.com/apache/flink/pull/25799#discussion_r1890472281


##########
docs/content/docs/dev/datastream/fault-tolerance/serialization/types_serialization.md:
##########
@@ -274,8 +274,8 @@ while block-style YAML list is used in the above example 
for better readability)
 ```java
 Configuration config = new Configuration();
 config.set(PipelineOptions.SERIALIZATION_CONFIG,
-    "[org.example.MyCustomType1: {type: pojo, class: 
org.example.MyCustomSerializer1},"
-        + "org.example.MyCustomType2: {type: kryo, kryo-type: registered, 
class: org.example.MyCustomSerializer2}]");
+    List.of("org.example.MyCustomType1: {type: pojo, class: 
org.example.MyCustomSerializer1}",

Review Comment:
   I am wondering if there can be junit with this code you could then keep in 
sync with the docs 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to