Promoted Java Delivery Client Example
Create a properties file in ~/.app.properties
. The flags can also be specified on the CLI.
metricsApiEndpointUrl=<get from promoted>/log
metricsApiKey=<get from promoted>
deliveryApiEndpointUrl=<get from promoted>/deliver
deliveryApiKey=<get from promoted>
Then run this command.
mvn install
mvn compile exec:java
mvn compile exec:java -Dexec.args="--onlyLog=false"