Install Demo Consumer
Install:
$ git clone https://github.com/apache/dubbo.git
$ cd dubbo/dubbo-demo/dubbo-demo-xml
# run org.apache.dubbo.demo.consumer.Application under dubbo-demo-xml-consumer module
# please start Provider first
# add -Djava.net.preferIPv4Stack=true if your IDE is Intellij Idea
Configuration:
# resources/spring/dubbo-consumer.xml
# change dubbo:registry to the real registry center address, for example:
# <dubbo:registry address="zookeeper://127.0.0.1:2181"/>
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified January 22, 2021: Merge branch 'master' of https://github.com/apache/dubbo-website (f48eac9)