I am not sure that Mosquitto itself should include a discovery module.
Some people would need MDNS, some others UPNP...
I think Mosquitto should still be fully dedicated to MQTT to keep it small and easy to use and configure. Anyway it should be easy to develop extensions (like a discovery module which would be useful) and share them if possible. The Mosquitto Authentication plugin is a first step in that direction.
I am not sure that Mosquitto itself should include a discovery module.
Some people would need MDNS, some others UPNP...
I think Mosquitto should still be fully dedicated to MQTT to keep it small and easy to use and configure. Anyway it should be easy to develop extensions (like a discovery module which would be useful) and share them if possible. The Mosquitto Authentication plugin is a first step in that direction.