Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Problem about how to map windows.net to chinacloudapi.cn in Java

$
0
0

Hi,

According to this post to guide how to use Storm and eventhub 'hdinsight-storm-sensor-data-analysis' ( http://azure.microsoft.com/zh-cn/documentation/articles/hdinsight-storm-sensor-data-analysis/ )

when I need to run the command `mvn compile exec:java -Dstorm.topology=com.microsoft.examples.Temperature` to fetch event on Azure,  I got the error,

"6650 [Thread-13-EventHub] ERROR backtype.storm.util - Async loop died!
java.lang.RuntimeException: com.microsoft.eventhubs.client.EventHubException: org.apache.qpid.amqp_1_0.client.ConnectionException: java.net.UnknownHostException:eventhub-yoyo-ns.servicebus.windows.net"

This problem may be that my account is China Azure, so I should change above the 'eventhub-yoyo-ns.servicebus.windows.net' to something like 'eventhub-yoyo-ns.servicebus.chinacloudapi.cn', however I couldn't find any method to do this, does anyone knows how to figure this?

Hope I explained my problem clearly, Many thanks.


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>