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

Chris Riccomini resolved SAMZA-55.
----------------------------------

    Resolution: Fixed

Got a +1 from [~sriramsub] on RB. Committed.

> StringSerde doesn't handle null
> -------------------------------
>
>                 Key: SAMZA-55
>                 URL: https://issues.apache.org/jira/browse/SAMZA-55
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.6.0
>            Reporter: Chris Riccomini
>             Fix For: 0.7.0
>
>         Attachments: SAMZA-55.0.patch
>
>
> The StringSerde throws an NPE if it is asked to toBytes/fromBytes a null 
> object.
> Kafka returns a null object when no key is specified. If the key serde to 
> string for the stream, this will trigger an NPE.
> Rather than having to configure each stream's key serde accordingly, it'd be 
> nice to just always turn the key serde on, and have it do the right thing 
> when a null key is received.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to