You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Itai Frenkel (JIRA)" <ji...@apache.org> on 2014/09/23 17:37:34 UTC
[jira] [Reopened] (STORM-386) Development of multilang protocol in
nodejs
[ https://issues.apache.org/jira/browse/STORM-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Itai Frenkel reopened STORM-386:
--------------------------------
Wrong place of storm.js
see https://github.com/apache/storm/pull/265
> Development of multilang protocol in nodejs
> -------------------------------------------
>
> Key: STORM-386
> URL: https://issues.apache.org/jira/browse/STORM-386
> Project: Apache Storm
> Issue Type: New Feature
> Environment: nodejs
> Reporter: Anya Tchernishov
> Assignee: Itai Frenkel
> Fix For: 0.9.3-incubating
>
>
> Support nodejs multilang protocol.
> Design considerations:
> - Emit will receive an object (like args and kwargs in python) and a callback that is called when task ids list is received.
> self.emit({tuple: [word]}, function(taskIds) {
> self.log(word + ' sent to task ids - ' + taskIds);
> });
> - The following methods will received done method that must be invoked on completion (same pattern used by the mocha test framework for async unit tests).
> - Internal implementation of emit uses Process.stdout.write without a callback since nodejs streams maintain FIFO order (so far, we have not found a need for providing a callback).
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)