Formalization and verification of Kafka messaging mechanism using CSP
Computer Science and Information Systems · 2023 · 20 (1) · 277-306
DOI: 10.2298/csis210707057x ↗Kurz gefasst
Fachartikel in der Zeitschrift Computer Science and Information Systems, 2023. Verfasst von Junya Xu und 3 weiteren Autor:innen. Die Arbeit wurde bisher 14-mal zitiert (Crossref) und nennt 30 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0).
Abstract (Originalsprache)
Apache Kafka is an open source distributed messaging system based on the publish-subscribe model, which achieves low latency, high throughput and good load balancing. As a popular messaging system, the transmission of messages between applications is one of the core functions of Kafka. Therefore, the reliability and security of data in the process of message transmission in Kafka have become the focus of attention. The formal methods can analyze whether a model is highly credible. Therefore, it is significant to analyze Kafka messaging mechanism which describes the communication process and rules between each module entity in Kafka from the perspective of formal methods. In this paper, we apply the process algebra CSP (Communicating Sequential Processes) and the model checking tool PAT (Process Analysis Toolkit) to analyze Kafka messaging mechanism. The results of verification show that the model caters for its specification and guarantees the reliability of messages in the normal communication process. Moreover, in order to further analyze the security of Kafka messaging mechanism, we add the intruder model and the authentication protocol Kerberos model and compare the verification results of Kafka messaging mechanism with or without the secure protocol Kerberos. The results show that the Kerberos protocol has improved the security of Kafka messaging mechanism in some aspects, but there are still some security loopholes.
Zitieren
APA
Xu, J., Yin, J., Zhu, H., & Xiao, L. (2023). Formalization and verification of Kafka messaging mechanism using CSP. Computer Science and Information Systems, 20(1), 277-306. https://doi.org/10.2298/csis210707057x
Vancouver
Xu J, Yin J, Zhu H, Xiao L. Formalization and verification of Kafka messaging mechanism using CSP. Computer Science and Information Systems. 2023;20(1):277-306. doi:10.2298/csis210707057x
BibTeX
@article{Xu2023,
author = {Xu, Junya and Yin, Jiaqi and Zhu, Huibiao and Xiao, Lili},
title = {Formalization and verification of Kafka messaging mechanism using CSP},
journal = {Computer Science and Information Systems},
year = {2023},
volume = {20},
number = {1},
pages = {277--306},
doi = {10.2298/csis210707057x}
}
EUVIMED