Re: Kafka broker not respecting log.roll.hours?

2013-04-26 Thread Adam Talaat
I don't know how Kafka's rollover algorithm is implemented, but this is common behavior for other logging frameworks. You would need a separate watcher/scheduled thread to rollover a log file, even if no events were coming in. Logback (and probably log4j, by the same author) dispenses with the watc

Encoder/Decoder exceptions

2013-02-21 Thread Adam Talaat
Are there any caveats to returning null from an Encoder or Decoder? I'm planning on doing this if there is a problem de/serializing a message, rather than throwing an exception.