You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/05/17 14:10:12 UTC

[jira] [Updated] (KAFKA-409) Refactor DefaultEventHandler

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

Ismael Juma updated KAFKA-409:
------------------------------
    Fix Version/s:     (was: 0.10.1.0)
                   0.8.2.0

> Refactor DefaultEventHandler 
> -----------------------------
>
>                 Key: KAFKA-409
>                 URL: https://issues.apache.org/jira/browse/KAFKA-409
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Neha Narkhede
>            Assignee: Jay Kreps
>              Labels: optimization
>             Fix For: 0.8.2.0
>
>
> The code in DefaultEventHandler has evolved to be a big blob of complex procedural logic. This is difficult to understand and read. Particularly the partitionAndCollate() API returns a nested complex data structure Option[Map[Int, Map[(String, Int), Seq[ProducerData[K,Message]]]]]. This class would definitely benefit from a refactor



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)