karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Updated] (KARAF-6864) Add a groupBy processor
Date Thu, 08 Oct 2020 13:13:00 GMT

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

Jean-Baptiste Onofré updated KARAF-6864:
----------------------------------------
    Fix Version/s:     (was: decanter-2.6.0)

> 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)

Mime
View raw message