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

Non-null check for bootstrapServers field is incorrect in KafkaSink

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

Details

    Description

      If the user-supplied kafkaProducerConfig contains bootstrapServers information, there is no need to define the value of this field separately through the setBootstrapServers method. Obviously, the current code doesn't notice this.

       

      Perhaps we can check bootstrapServers as follows:

       

      Or check bootstrapServers like KafkaSourceBuilder.

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Tony Giao Zhengqi Zhang
            Tony Giao Zhengqi Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment