Guess the broker from the URL
I build an application that is deployed and used by people who are not necessarily accustomed to Python.
Asking those people to configure very python-centric values such as DRAMATIQ_BROKER dramatiq.brokers.rabbitmq:RabbitmqBroker or dramatiq.brokers.redis:RedisBroker appears to me as an unnecessary complexity.
I suppose the broker could just be guessed by the url scheme in DRAMATIQ_BROKER_URL (i.e. RabbitmqBroker for amqp://guest:guest@127.0.0.1:5672, RedisBorker for redis://127.0.0.1:6379/0 and StubBroker for None).
What do you think?