Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20825

Upsert-kafka should throw a better exception when the key of the record is NULL

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.12.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, it will get NPE when reading from the upsert-kafka with record whose key is NULL.
      The records in the compacted topic always have keys. Therefore, it's mainly wrong usage of the upsert-kafka that causing NPE. We can throw a better exception to notify the users.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fsk119 Shengkai Fang

              Dates

              • Created:
                Updated:

                Issue deployment