Formalization and Verification of the Message Delivery Mechanism in Apache Pulsar
International Journal of Software Engineering and Knowledge Engineering · 11.11.2026 · 1-40
DOI: 10.1142/s0218194026500877 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Software Engineering and Knowledge Engineering, online erschienen am 11.11.2026. Verfasst von Wenbin Wu und 3 weiteren Autor:innen. Die Arbeit nennt 50 Literaturangaben.
Abstract (Originalsprache)
Apache Pulsar is a cloud-native, high-performance, and scalable distributed message-oriented middleware (MOM) widely used for processing large-scale real-time data streams. Due to its distributed architecture and multi-tenancy features, Pulsar excels in high-throughput and low-latency scenarios and has been widely applied in fields such as finance, the Internet of things (IoT), and big data processing. However, as the complexity of application scenarios increases, the requirements for system reliability and data security are also rising. Formal methods, based on rigorous mathematical theories, have been widely used for the verification and analysis of distributed systems. Therefore, exploring how to apply formal methods to the modeling and verification of the message delivery mechanism of Apache Pulsar holds important research significance. This paper adopts communicating sequential processes (CSP) to model the message delivery mechanism of Apache Pulsar and utilizes the process analysis toolkit (PAT) to carry out two layers of formal analysis covering functional correctness and security, aiming to provide theoretical support and technical references for building secure and reliable MOM. The main contributions of this work include: (1) This work develops the first CSP-based formal model that systematically abstracts the core components and communication workflows of Pulsar’s message delivery mechanism. The analysis focuses on six key properties that the Pulsar system should satisfy: deadlock freedom, divergence freedom, data consistency, sequentiality, reliability, and persistent storage. The experimental results indicate that the Pulsar system successfully meets these critical properties, demonstrating the reliability of its message delivery mechanism. (2) A Dolev–Yao intruder model integrated with the Athenz X.509 authentication framework is constructed to evaluate the system’s resistance against impersonation, interception, tampering, and replay attacks. The verification results reveal that Athenz can effectively block impersonation, tampering and replay threats, while passive interception risks still exist without transport encryption.
Zitieren
APA
Wu, W., Hou, Z., Zhu, H., & Chen, N. (2026). Formalization and Verification of the Message Delivery Mechanism in Apache Pulsar. International Journal of Software Engineering and Knowledge Engineering, 1-40. https://doi.org/10.1142/s0218194026500877
Vancouver
Wu W, Hou Z, Zhu H, Chen N. Formalization and Verification of the Message Delivery Mechanism in Apache Pulsar. International Journal of Software Engineering and Knowledge Engineering. 2026:1-40. doi:10.1142/s0218194026500877
BibTeX
@article{Wu2026,
author = {Wu, Wenbin and Hou, Zhiru and Zhu, Huibiao and Chen, Ningning},
title = {Formalization and Verification of the Message Delivery Mechanism in Apache Pulsar},
journal = {International Journal of Software Engineering and Knowledge Engineering},
year = {2026},
pages = {1--40},
doi = {10.1142/s0218194026500877}
}
EUVIMED