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

The example of using StringDeserializer for deserializing Kafka message value as string has an error

    XMLWordPrintableJSON

Details

    Description

      The example of using StringDeserializer for deserializing Kafka message value as string has an error in flink's document 1.4 release, the parameters of the example code "KafkaRecordDeserializationSchema.valueOnly()" should be "StringDeserializer.class" rather than "StringSerializer.class".

      The document link is as follows: https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/connectors/datastream/kafka/#deserializer

      Attachments

        1. StringDeserializer.png
          121 kB
          Penguin

        Activity

          People

            zp315 Penguin
            zp315 Penguin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: