broadcaster icon indicating copy to clipboard operation
broadcaster copied to clipboard

Support for multiple servers

Open woile opened this issue 5 years ago • 1 comments

Kafka accept n + 1 servers to bootstrap initial cluster metadata.

https://aiokafka.readthedocs.io/en/stable/api.html#aiokafkaconsumer-class

woile avatar Feb 26 '20 12:02 woile

First question would be what we want the Broadcaster.__init__ interface to look like to support this.

Do we want to change it to Broadcast(url: Union[str, List[str]]), or something else?

We'd need to raise errors if the urls included mixed backend strings, or if multiple urls were used with a backend that only supports a single hostname for connections.

lovelydinosaur avatar Feb 26 '20 12:02 lovelydinosaur