You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/08/18 08:35:00 UTC

[jira] [Created] (FLINK-29030) Consider printing a warning if a Pojo contains a generic type

Chesnay Schepler created FLINK-29030:
----------------------------------------

             Summary: Consider printing a warning if a Pojo contains a generic type
                 Key: FLINK-29030
                 URL: https://issues.apache.org/jira/browse/FLINK-29030
             Project: Flink
          Issue Type: Improvement
          Components: API / Type Serialization System
            Reporter: Chesnay Schepler
             Fix For: 1.17.0


Users are encouraged to use POJO types, that will be serialized by the PojoSerializer which supports schema evolution.
If a user does not use a POJO we print an info message, linking to the docs and citing potential performance issues.

However, no such message is printed if a POJO _contains_ a generic type.

As a result there may be users out there believing to have optimal performance and support for schema evolution since, after all, they are able to use the POJO serializer, when this may not be the case.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)