I think you mean DefaultEventHandler. Yes, kafka-409 has been created for
that.

Thanks,

Jun

On Tue, Oct 2, 2012 at 4:50 PM, Jay Kreps <jay.kr...@gmail.com> wrote:

> Hey Guys,
>
> The code in the Producer has gotten very dense and spaghetti-like. I see a
> lot of types like
>   Map[TopicAndPartition, Seq[ProducerData[K,Message]]]
> or
>   Option[Map[Int, Map[TopicAndPartition, Seq[ProducerData[K,Message]]]]]
>
> Please, if you find this happening just make a new class that describes the
> type.
>
> -Jay
>

Reply via email to