movio / movio-apidoc-generator

Code gen for http://apidoc.me
MIT License
1 stars 1 forks source link

Update consumer to ignore null messages #36

Closed jamesk closed 8 years ago

jamesk commented 8 years ago

When you have compacted topics you can delete messages from the topic by sending a message with a matching key but no payload. The generated clients should be able to handle these messages.

This change makes the consumer effectively ignore these messages. NB: We can't really do anything useful as the type is just a Seq[T] rather than a collection of key+payload pairs.

kalmanb commented 8 years ago

LGTM