You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2014/07/14 22:18:04 UTC

[jira] [Updated] (SAMZA-331) SystemStreamPartition should implement Comparable for sorting goodness

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

Jakob Homan updated SAMZA-331:
------------------------------

    Attachment: SAMZA-331.patch

Quick patch with code-gen'ed compareTo for SystemStreamPartition and Partition.  Would have liked to do it on SystemStream and call super, but then you get SystemStreamPartition and SystemPartition implementing Comparable for two different type classes, which Java doesn't like.

Tested on the SAMZA-123 branch with the AM, which there shows all the SSPs per TopicName.

> SystemStreamPartition should implement Comparable for sorting goodness
> ----------------------------------------------------------------------
>
>                 Key: SAMZA-331
>                 URL: https://issues.apache.org/jira/browse/SAMZA-331
>             Project: Samza
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.8.0
>
>         Attachments: SAMZA-331.patch
>
>
> Often times we spit out lots of SystemStreamPartitions, such as on the AM.  It would be good if we could easily have these be sorted for better out-of-box user experience.



--
This message was sent by Atlassian JIRA
(v6.2#6252)