Skip to main content

An Efficient Disaster Recovery Mechanism for Multi-region Apache Kafka Clusters

  • Conference paper
  • First Online:
Innovative Mobile and Internet Services in Ubiquitous Computing (IMIS 2022)

Abstract

Today many internet messaging platforms are built based on publish-subscribe event delivery models that needs to deliver large amounts of messages to ubiquitous clients in a timely manner. To deal with the huge amount of messages reliably, fault tolerance and disaster recovery, e.g. power outages, network interruptions, and software failures, have become vital issues. This paper studies the issue of disaster recovery for the popular Apache Kafka message delivery system. We adopt the strategy of cooperative redundant among multi-region Kafka clusters. By using this approach, the internet messaging applications connect to a local Kafka consumer gateway which uses multi-threading to connect multiple Kafka clusters in different regions. The gateway automatically selects active cluster thereby achieves location transparency and fault tolerance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Acknowledgments

This study is financial support in part by Ministry of Science and Technology, Taiwan under the grants MOST 108-2221-E-029-009 and MOST 109-2221-E-029-017-MY2.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Leu-Fang Yei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chen, LP., Yei, LF., Chen, YR. (2022). An Efficient Disaster Recovery Mechanism for Multi-region Apache Kafka Clusters. In: Barolli, L. (eds) Innovative Mobile and Internet Services in Ubiquitous Computing. IMIS 2022. Lecture Notes in Networks and Systems, vol 496. Springer, Cham. https://doi.org/10.1007/978-3-031-08819-3_31

Download citation

Publish with us

Policies and ethics