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 912AE11941 for ; Thu, 3 Jul 2014 15:08:46 +0000 (UTC) Received: (qmail 43591 invoked by uid 500); 3 Jul 2014 15:08:46 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 43534 invoked by uid 500); 3 Jul 2014 15:08:46 -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 43523 invoked by uid 99); 3 Jul 2014 15:08:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 15:08:46 +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:08:45 +0000 Received: (qmail 42845 invoked by uid 99); 3 Jul 2014 15:08:24 -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:08:24 +0000 Date: Thu, 3 Jul 2014 15:08:24 +0000 (UTC) From: "Anya Tchernishov (JIRA)" To: dev@storm.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Anya Tchernishov created STORM-386: -------------------------------------- Summary: 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)