Currently the simple flask webapp only supports a 1:1 mapping of Kafka brokers to publish images that are uploaded. Given Kafka's distributed architecture it would make sense to allow a checking multiple possible Kafka brokers to publish messages to.
Currently the simple flask webapp only supports a 1:1 mapping of Kafka brokers to publish images that are uploaded. Given Kafka's distributed architecture it would make sense to allow a checking multiple possible Kafka brokers to publish messages to.
Currently webapp settings are defined in a simple .ini file found here : https://github.com/edhenry/chexnet/blob/develop/webapp/webapp_settings.ini
And the webapp imports those configurations here : https://github.com/edhenry/chexnet/blob/065d77f2d66479d17bd7f7b63dccb908ff0f7fc2/webapp/app.py#L23
Extending this logic would allow for fault tolerance for a given instance of the webapp.