Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8254

Suppress incorrectly passes a null topic to the serdes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0, 2.2.0, 2.1.1
    • 2.3.0, 2.1.2, 2.2.1
    • streams
    • None

    Description

      For example, in KTableSuppressProcessor, we do:

      final Bytes serializedKey = Bytes.wrap(keySerde.serializer().serialize(null, key));
      

      This violates the contract of Serializer (and Deserializer), and breaks integration with known Serde implementations.

      Attachments

        Activity

          People

            vvcephei John Roesler
            vvcephei John Roesler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: