November 2017
Beginner to intermediate
290 pages
7h 34m
English
Another way of assembling applications without writing Java code is through JSON.
This format can be created manually, but it could also be used to generate the DAG from a different frontend, like a visual tool. Here is the word count written in JSON:
{ "displayName": "WordCountJSON", "operators": [ { "name": "input", ... }, { "name": "parse", ... }, { "name": "count", "class": "com.datatorrent.lib.algo.UniqueCounter", "properties": { "com.datatorrent.lib.algo.UniqueCounter": { "cumulative": false } } }, { "name": "console", ... } ], "streams": [ { "name": "lines", "sinks": [ { "operatorName": "parse", "portName": "input" } ], "source": { "operatorName": "input", "portName": "output" } }, { "name": "words", ... }, { "name": ...Read now
Unlock full access