Swarm mode: node discovery

Legacy standalone swarm had options for cluster discovery using etcd/consul, etc. Integrated swarm mode has only token based discovery. How it’s implemented? I think it uses external docker cloud service, but I’m not sure? Are there option to use external (consul?) discovery in new swarm mode?