For producer and consumer applications that use the HPE Ezmeral Data Fabric Event Store Java API, use Maven to compile and determine the application's dependencies. Then, when you run the application, specify those dependencies in the application's classpath.
See HPE Ezmeral Data Fabric Event Store Streams Sample Programs on GitHub for an example pom.xml file.
pom.xml file, if it is not already
added:<repositories>
<repository>
<id>mapr-releases</id>
<url>https://repository.mapr.com/nexus/content/repositories/releases</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
</repositories><dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version><version selected from the repository></version>
</dependency><dependency>
<groupId>com.mapr.streams</groupId>
<artifactId>mapr-streams</artifactId>
<version><version selected from the repository></version>
</dependency>mvn clean package.When the cluster is secure, the node must also have a mapr ticket configured for the user that runs the application.
java -cp <classpath>:. -Djava.library.path=/opt/mapr/lib <main class JAR> <command line arguments>