You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "John Roesler (JIRA)" <ji...@apache.org> on 2019/04/18 15:35:00 UTC

[jira] [Created] (KAFKA-8254) Suppress incorrectly passes a null topic to the serdes

John Roesler created KAFKA-8254:
-----------------------------------

             Summary: Suppress incorrectly passes a null topic to the serdes
                 Key: KAFKA-8254
                 URL: https://issues.apache.org/jira/browse/KAFKA-8254
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 2.1.1, 2.2.0, 2.1.0
            Reporter: John Roesler
             Fix For: 2.3.0, 2.1.2, 2.2.1


For example, in KTableSuppressProcessor, we do:
{noformat}
final Bytes serializedKey = Bytes.wrap(keySerde.serializer().serialize(null, key));
{noformat}

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)