Make distributors/ingesters aware of availability zones
Suppose your replication-factor is about the same as the number of AZs. You'd prefer that replicas for any particular write were spread across all the AZs.
I have no idea how hard this is.
Cassandra does this with topology-aware snitches[1] and replication strategies[2]
[1] https://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchesAbout_c.html [2] https://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureDataDistributeReplication_c.html
I believe Kafka's approach is similarly to Cassandra's. They attach a Rack ID on each broker pod (which would be the identifier for a AV Zone): https://issues.apache.org/jira/browse/KAFKA-1215
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
going to revive this issue and do some investigating