Gupta, Nitin (2025) Kafka Native Delay Subsystem for Distributed Message Processing Preventing Data Loss and Solving Data Residency. International Journal of Innovative Science and Research Technology, 10 (5): 25may2034. pp. 3546-3550. ISSN 2456-2165

[thumbnail of IJISRT25MAY2034.pdf] Text
IJISRT25MAY2034.pdf - Published Version

Download (254kB)

Abstract

In modern distributed systems, particularly those leveraging asynchronous message processing, the ability to introduce controlled delays for messages is crucial for various functionalities, including retry mechanisms, scheduled deliveries, and rate throttling. This white paper presents the design and operational principles of a novel delay subsystem built entirely on Apache Kafka. By strategically utilizing a set of Kafka topics that represent discrete delay durations, this design eliminates the need for external schedulers, databases, or additional services, thereby minimizing architectural complexity and coupling. It also solves the problem associated with data residency due to various legal concerns in the banking and fintech industry. The paper details the "denomination" approach to accumulating arbitrary delays, analogous to dispensing currency change. It elucidates the inherent advantages of this Kafka-native approach, such as natural sorting, Kafka's robust write performance, and preventing data loss by retaining data temporarily. Furthermore, it provides a comprehensive walkthrough of the message flow, worker behavior, and the critical role of message headers in maintaining logical record integrity. This subsystem offers a highly scalable, resilient, and cost-effective solution for managing delayed messages within a Kafka-centric architecture.

Item Type: Article
Subjects: T Technology > T Technology (General)
Divisions: Faculty of Engineering, Science and Mathematics > School of Electronics and Computer Science
Depositing User: Editor IJISRT Publication
Date Deposited: 21 Jun 2025 06:20
Last Modified: 21 Jun 2025 06:20
URI: https://eprint.ijisrt.org/id/eprint/1345

Actions (login required)

View Item
View Item