Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-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 02E0118914 for ; Wed, 30 Dec 2015 21:32:59 +0000 (UTC) Received: (qmail 95110 invoked by uid 500); 30 Dec 2015 21:32:58 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 95048 invoked by uid 500); 30 Dec 2015 21:32:58 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 95037 invoked by uid 99); 30 Dec 2015 21:32:58 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2015 21:32:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7660E1A0333 for ; Wed, 30 Dec 2015 21:32:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.247 X-Spam-Level: * X-Spam-Status: No, score=1.247 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NOMMiLwZP0lS for ; Wed, 30 Dec 2015 21:32:50 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 4504F42A45 for ; Wed, 30 Dec 2015 21:32:50 +0000 (UTC) Received: (qmail 93258 invoked by uid 99); 30 Dec 2015 21:32:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2015 21:32:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B30DD2C044E for ; Wed, 30 Dec 2015 21:32:49 +0000 (UTC) Date: Wed, 30 Dec 2015 21:32:49 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXCORE-276) Make App Data Push transport pluggable and configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APEXCORE-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075419#comment-15075419 ] ASF GitHub Bot commented on APEXCORE-276: ----------------------------------------- Github user davidyan74 commented on the pull request: https://github.com/apache/incubator-apex-core/pull/193#issuecomment-168076912 I just implemented what Thomas suggested, but I kept the METRICS_TRANSPORT attribute since it's not currently widely used but I can change it if people have concerns. > Make App Data Push transport pluggable and configurable > ------------------------------------------------------- > > Key: APEXCORE-276 > URL: https://issues.apache.org/jira/browse/APEXCORE-276 > Project: Apache Apex Core > Issue Type: New Feature > Reporter: David Yan > Assignee: David Yan > > Currently it's not possible without changing the code to have your own transport. > Code from AppDataPushAgent.java: > {code} > public void init() > { > String appDataPushTransport = dnmgr.getLogicalPlan().getValue(DAGContext.METRICS_TRANSPORT); > if (appDataPushTransport.startsWith(APP_DATA_PUSH_TRANSPORT_BUILTIN_VALUE + ":")) { > String topic = appDataPushTransport.substring(APP_DATA_PUSH_TRANSPORT_BUILTIN_VALUE.length() + 1); > appDataPusher = new WebsocketAppDataPusher(dnmgr.getWsClient(), topic); > LOG.info("App Data Push Transport set up for {}", appDataPushTransport); > } else { > // TBD add kakfa > LOG.error("App Data Push Transport not recognized: {}", appDataPushTransport); > } > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)