createFromConfig
Create a broker from a configuration
Return
A Result containing the created broker or an error
Parameters
config
The ServerConfig used to create the broker from
logger
An optional logger to use for messages in the broker