We are trying to read messages from Azure Service Bus (ASB) through Apache Storm cluster using a custom built spout java code. When the storm topology is submitted to run in cluster mode, we are facing the following issues:
- Service or property not registered: com.microsoft.windowsazure.services.servicebus.ServiceBusContract class com.sun.jersey.api.client.Client
- Unable to add Azure Service Bus Connector
- Setup of Services Failed.
- Async loop died!
When the same topology is submitted in local mode (without cluster), the same code works fine and able to receive messages from ASB.
Did anyone face similar issue when accessing ASB from java environment and able to resolve this issue?
See the workaround on https://github.com/Azure/azure-sdk-for-java/issues/466. There are problems with shaded jars, you only need to include a new transformer in the pom.xml to solve the issue. It worked for me.