Return-Path: X-Original-To: apmail-storm-dev-archive@minotaur.apache.org Delivered-To: apmail-storm-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE99511958 for ; Thu, 3 Jul 2014 15:10:50 +0000 (UTC) Received: (qmail 54617 invoked by uid 500); 3 Jul 2014 15:10:50 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 54566 invoked by uid 500); 3 Jul 2014 15:10:50 -0000 Mailing-List: contact dev-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@storm.incubator.apache.org Delivered-To: mailing list dev@storm.incubator.apache.org Received: (qmail 54555 invoked by uid 99); 3 Jul 2014 15:10:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 15:10:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Jul 2014 15:10:51 +0000 Received: (qmail 54053 invoked by uid 99); 3 Jul 2014 15:10:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 15:10:25 +0000 Date: Thu, 3 Jul 2014 15:10:25 +0000 (UTC) From: "Anya Tchernishov (JIRA)" To: dev@storm.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STORM-386) Development of multilang protocol in nodejs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STORM-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051555#comment-14051555 ] Anya Tchernishov commented on STORM-386: ---------------------------------------- Pull request https://github.com/apache/incubator-storm/pull/177 > 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)