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

Kafka Source Web Deserializer Java Code is Error

    XMLWordPrintableJSON

Details

    Description

      In the connectors/datastream/kafka page of flink-docs-release-1.14, there is an error in the demo code about deserializer, which uses KafkaSource.<String>builder().setDeserializer(KafkaRecordDeserializationSchema.valueOnly(StringSerializer. class));

      However, in the actual test, the parameter of KafkaRecordDeserializationSchema.valueOnly() should be StringDeserializer.class

      The web url is *https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/connectors/datastream/kafka/#kafka-sourcefunction*

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rugu 十二
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: