Update time: 2019-07-10

To use Consul as service registry center, you need to add this dependency


and need to configure it in as follows:

The value after consul: is the connection address of the consul. If you need to set some other parameters, you can also configure as follows: