[ 
https://issues.apache.org/jira/browse/KARAF-6864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243823#comment-17243823
 ] 

ASF GitHub Bot commented on KARAF-6864:
---------------------------------------

jbonofre opened a new pull request #214:
URL: https://github.com/apache/karaf-decanter/pull/214


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> Add a groupBy processor
> -----------------------
>
>                 Key: KARAF-6864
>                 URL: https://issues.apache.org/jira/browse/KARAF-6864
>             Project: Karaf
>          Issue Type: New Feature
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> The user can define a set of properties and we group all events with same 
> properties value, and send at timeout.
> For instance, we can group like:
> {code:java}
>  {'field1': "a", "field2": 'b', "field3": "c"} -> group by: a, b -> 
> Map<Pair<a, b>, List {'field1': "a", "field2": 'b', "field3": "c"} >
> if b = null -> Map<Pair<a, null>,  List {'field1': "a", "field2": null, 
> "field3": "c"} >
> if a = null -> Map<Pair<null, b>, List {'field1': null, "field2": "b", 
> "field3": "c"} >
> if a = null, b = null -> Map<Pair<null, null>, List {'field1': null, 
> "field2": null, "field3": "c"} > {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to