bencebalogh / avro-schema-registry

Confluent Schema Registry implementation in javascript to easily serialize and deserialize kafka messages
MIT License
28 stars 30 forks source link

Fallback schema registry URLs #7

Closed jpzk closed 5 years ago

jpzk commented 5 years ago

In a fault-tolerant cluster environment one has multiple schema registries for fail-over. This might not be hard to implement but it will be crucial for enterprise use of the library. Kudos, library is working fine so far!

bencebalogh commented 5 years ago

Sorry for forgetting about this.

Do you have some ideas how the fallback should behave? Would it be a list of URLs and if it fails it just cycles to the next one and tries that? After one failure should it always stick to the first found successful fallback one and should it try after, if that starts failing, the previously failed ones?

bencebalogh commented 5 years ago

Closing until more people are asking for it and we come up with a solution to implement