You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/03 17:08:24 UTC
[jira] [Commented] (STORM-386) Development of multilang protocol in
nodejs
[ https://issues.apache.org/jira/browse/STORM-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051554#comment-14051554 ]
ASF GitHub Bot commented on STORM-386:
--------------------------------------
GitHub user anyatch opened a pull request:
https://github.com/apache/incubator-storm/pull/177
nodejs multilang protocol implementation and examples
More details at:
https://issues.apache.org/jira/browse/STORM-386
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/forter/incubator-storm nodejs-multilang
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-storm/pull/177.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #177
----
commit d2be73b06beab538b34d248cb83c494ae7a33e4f
Author: Anya Tchernishov <an...@forter.com>
Date: 2014-07-03T15:06:44Z
nodejs multilang protocol implementation and examples
----
> Development of multilang protocol in nodejs
> -------------------------------------------
>
> Key: STORM-386
> URL: https://issues.apache.org/jira/browse/STORM-386
> Project: Apache Storm (Incubating)
> Issue Type: New Feature
> Environment: nodejs
> Reporter: Anya Tchernishov
>
> 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.2#6252)