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.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---