We are trying to send events to an event hub using java and storm on Azure (Java 1.7), and using the following version of the java event hub sdk:
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-eventhubs</artifactId>
<version>0.6.9</version>
</dependency>
Is there a build of this that is compatible with Java 1.7? It throws an error java.lang.NoClassDefFoundError: java/time/temporal/TemporalUnit which I believe to be a java version issue.
This is the code with the error:
ConnectionStringBuilder connStr = new ConnectionStringBuilder(namespaceName, eventHubName, sasKeyName, sasKey);ehClient = EventHubClient.createFromConnectionStringSync(connStr.toString());
Thanks,
Justin