X-czh commented on code in PR #24230: URL: https://github.com/apache/flink/pull/24230#discussion_r1474106398
########## docs/content/docs/dev/datastream/fault-tolerance/serialization/types_serialization.md: ########## @@ -359,12 +385,13 @@ You can still use the same method as in Java as a fallback. There are two ways to create a TypeSerializer. The first is to simply call `typeInfo.createSerializer(config)` on the `TypeInformation` object. -The `config` parameter is of type `ExecutionConfig` and holds the information about the program's registered -custom serializers. Where ever possibly, try to pass the programs proper ExecutionConfig. You can usually -obtain it from `DataStream` via calling `getExecutionConfig()`. +The `config` parameter is of type `SerializerConfig` and holds the information about the program's registered Review Comment: Now that it is supported to register a custom `TypeInfoFactory`, I think we should discourage the use case here and remove the relevant section in doc. WDYT? -- 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]
