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

Suppress incorrectly passes a null topic to the serdes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0, 2.1.1
    • Fix Version/s: 2.3.0, 2.1.2, 2.2.1
    • Component/s: streams
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: