How To Test:
git clone https://github.com/paypal/NNAnalytics.git
- (Optional) Run
./gradlew -PmainClass=com.paypal.nnanalytics.TestNNAWithStreamEngine execute
. This will run thepublic static void main
method incom.paypal.nnanalytics.TestNNAWithStreamEngine.java
undersrc/test/java
. Use CTRL+C to stop the demo. - (Optional) Run
./gradlew -PmainClass=com.paypal.nnanalytics.TestWithMiniClusterWithStreamEngine execute
. This will run thepublic static void main
method incom.paypal.nnanalytics.TestWithMiniClusterWithStreamEngine.java
undersrc/test/java
. Use CTRL+C to stop the demo. - A local instance of NNA should start and be accessible at http://localhost:4567. Use a browser, preferably Chrome or Firefox, to view.
** The difference between (a) and (b) is that (a) will launch a static instance of NNA with an unchanging files and directories where as (b) will mimic a production cluster on your local machine and update NNA as it runs.