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

Valentin Kulichenko commented on IGNITE-1370:
---------------------------------------------

Raul,

I looked at your changes. They look good, but I think we should throw an 
exception if both single and multiple extractors are set, because only multiple 
will be used.

Also it looks like multiple extractor supports all cases, so single can be 
deprecated. What do you think?

> StreamTupleExtractor should allow extracting multiple tuples from a single 
> event
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-1370
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1370
>             Project: Ignite
>          Issue Type: Improvement
>          Components: streaming
>    Affects Versions: ignite-1.4
>            Reporter: Raúl Kripalani
>            Assignee: Raúl Kripalani
>
> Currently the {{StreamTupleExtractor}} interface contains a single method:
> {code}
> public Map.Entry<K, V> extract(T msg);
> {code}
> Which only allows extracting a single Entry from an incoming event.
> In real life, it could be that an event contains multiple entries. 



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

Reply via email to