This example assumes you have previously completed the following examples:
Build the JAR file using the Maven command line below:
mvn clean install
Execute the following command line to receive an event from the event hub:
java -jar target/receive-event.jar
Do NOT forget to remove the resources once you are done running the example.