[jira] [Created] (FLINK-22809) Improve the exception message when a KafkaIngress receives a NULL key.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22809) Improve the exception message when a KafkaIngress receives a NULL key.

Shang Yuanchun (Jira)
Igal Shilman created FLINK-22809:
------------------------------------

             Summary: Improve the exception message when a KafkaIngress receives a NULL key.
                 Key: FLINK-22809
                 URL: https://issues.apache.org/jira/browse/FLINK-22809
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
            Reporter: Igal Shilman
             Fix For: statefun-3.1.0


Mailing list discussion:

http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Statefun-2-2-2-Checkpoint-restore-NPE-td44022.html

The following line throws a generic NPE, instead it should a bit more descriptive.

https://github.com/apache/flink-statefun/blob/release-2.2/statefun-flink/statefun-flink-io-bundle/src/main/java/org/apache/flink/statefun/flink/io/kafka/RoutableProtobufKafkaIngressDeserializer.java#L48



--
This message was sent by Atlassian Jira
(v8.3.4#803005)