[ 
https://issues.apache.org/jira/browse/SAMZA-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897128#comment-13897128
 ] 

Chris Riccomini commented on SAMZA-110:
---------------------------------------

Hmm, I'm not quite sure I follow.

Can't we just do:

{code}
class ByteSerde extends Serde[Array[Byte]] {
  def toBytes(bytes: Array[Byte]) = bytes
  def fromBytes(bytes: Array[Byte]) = bytes
}
{code}

> Write a ByteSerde
> -----------------
>
>                 Key: SAMZA-110
>                 URL: https://issues.apache.org/jira/browse/SAMZA-110
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.6.0
>            Reporter: Chris Riccomini
>
> It would be good to have a ByteSerde included in samza-core's serializer 
> package. This serde should just be a no-op that returns the arrays it's given.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to