[ 
https://issues.apache.org/jira/browse/APEXCORE-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366255#comment-15366255
 ] 

ASF GitHub Bot commented on APEXCORE-405:
-----------------------------------------

Github user PramodSSImmaneni commented on the issue:

    https://github.com/apache/apex-core/pull/351
  
    Hey @tweise the API is in parity with how the app is launched in embedded 
mode. So it expects the user to set all the configuration in the configuration 
object and pass it along with the streaming application object. It also allows 
user to pass any dependency jars, queue name or previous application id as 
launch parameters. 
    
    It takes the application object directly and is not actually parsing 
packages or jars to figure out the applications so you can directly 
programmatically launch DAGs from your code without having to build an app 
package and launch it indirectly. This becomes much more convenient when a 
series of DAGs have to be launched from the same program.
    
    As you know CLI supports launch apps from all inclusive packages or from 
individual components such as jars and resources. This approach is more like 
the latter although not exactly the same as described in the above two 
paragraphs.


> Provide an API to launch DAG on the cluster
> -------------------------------------------
>
>                 Key: APEXCORE-405
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-405
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Pramod Immaneni
>            Assignee: Pramod Immaneni
>
> Today API exists to launch a DAG in local mode but such an API is not 
> available to launch the app on the cluster, only a CLI tool is available. 
> Provide an API to be able to do this. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to