You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Arun Mahadevan (JIRA)" <ji...@apache.org> on 2017/01/12 10:45:58 UTC
[jira] [Created] (STORM-2285) Streams api - support transform
operation
Arun Mahadevan created STORM-2285:
-------------------------------------
Summary: Streams api - support transform operation
Key: STORM-2285
URL: https://issues.apache.org/jira/browse/STORM-2285
Project: Apache Storm
Issue Type: Sub-task
Reporter: Arun Mahadevan
Support stream-to-stream transformations so that common patterns can be provided as built in transformations and complex transformation can be built on top.
Beam has the concept of composite transforms, similar concept is also supported in spark streaming transform() api.
At a high level it could be something like,
{code}
interface Transform<T, R> {
Stream<R> apply(Stream<T> input);
}
{code}
And then in the Stream<T>, we add an api that applies the transform.
{code}
Stream<T> {
...
Stream<R> apply(Transform<T, R> transform);
...
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)