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"/>

Last modified November 25, 2020: fix sample code issue for SPI.md (#659) (0576d68)