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

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

     [ https://issues.apache.org/jira/browse/KAFKA-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guozhang Wang resolved KAFKA-8254.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.1.2)

Resolved for trunk / 2.2 now, will continue to fix 2.1 soon.

> 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.0, 2.2.0, 2.1.1
>            Reporter: John Roesler
>            Assignee: John Roesler
>            Priority: Major
>             Fix For: 2.3.0, 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)