apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja.Aravapalli <Raja.Aravapa...@target.com>
Subject Re: how to pass arguments ?
Date Wed, 15 Jun 2016 16:29:03 GMT

Thanks Sandesh.


Regards,
Raja.

From: Sandesh Hegde <sandesh@datatorrent.com<mailto:sandesh@datatorrent.com>>
Reply-To: "users@apex.apache.org<mailto:users@apex.apache.org>" <users@apex.apache.org<mailto:users@apex.apache.org>>
Date: Wednesday, June 15, 2016 at 11:20 AM
To: "users@apex.apache.org<mailto:users@apex.apache.org>" <users@apex.apache.org<mailto:users@apex.apache.org>>
Subject: Re: how to pass arguments ?

Hi Raja,

Take look at the following example,

Redis URL is coming from the configuration file and accessed in the "Application.java"

https://github.com/DataTorrent/streaming-benchmarks/blob/master/apex-benchmarks/src/main/java/apex/benchmark/ApplicationWithGenerator.java

Thanks



On Wed, Jun 15, 2016 at 9:00 AM Raja.Aravapalli <Raja.Aravapalli@target.com<mailto:Raja.Aravapalli@target.com>>
wrote:

Hi,

How can I pass arguments to Application.java class ? Like how we pass (String[] args) in main
method in java ?

Couldn’t find any reference. Can someone please share knowledge on this ? Thanks a lot.



Regards,
Raja.
Mime
View raw message