I am trying to implement the eventgen sample provided for hdinsight-storm using Event hub in java.
It gives me this error "org.apache.qpid.amqp_1_0.client.ConnectionException: java.net.ConnectException: Connection timed out: connect"
So I tried to set the connectivity mode.
But I get "SystemBusEnvironment can not be resolved to variable" error even after adding the required jars.
I know the alternate way by opening the port.
How can I achieve this by setting connectivity mode.