Agoda has developed a custom solution for Kafka consumer failover across data centers, addressing the limitations of existing options like stretch clusters and MirrorMaker 2. Their approach incorporates two-way synchronization of consumer group offsets to facilitate seamless failover and failback, ensuring data integrity and minimizing disruption during data center outages.