Skip to main navigation Skip to search Skip to main content

Optimizing Technology Choices for Kafka-Based Communication in Large-Scale Microservice Architectures

  • Michael Jellinger

    Student thesis: Master's Thesis

    Abstract

    In the landscape of modern software development, microservice architectures have become the industry standard for creating reliable enterprise systems. The distributed nature of these architectures requires a scalable and high-performance way of communicating. Apache Kafka recognizes this demand and acts as the central nervous system,
    providing support for efficient and durable service communication. While the paradigms of modern microservice architectures come with significant benefits, they create new challenges that need careful consideration when building applications. The ecosystem around Apache Kafka offers a range of powerful frameworks to abstract the complexity of handling these challenges, leaving developers to make a technology decision. Existing technology comparisons focus heavily on technical characteristics, often failing to consider business-relevant aspects. In addition, the decision-making process is frequently hampered by organizational path dependence, which negatively
    impacts the ability to innovate over time. Building on these observations, this document aims to support the decision-making process by analyzing trade-offs between different framework options. The evaluation features three widely used technologies for interacting with Apache Kafka — standard Consumer-Producer applications, Kafka Streams, and Apache Flink. Each technology follows different architecture approaches, resulting in different processing capabilities and operational implications. For thorough evaluation, this thesis investigates the internals of the technologies, with a focus on how they handle common distributed processing challenges. Furthermore, important evaluation metrics are investigated for both technical and business-oriented aspects, bridging the gap in current research. The technical evaluation includes the analysis of functional expressiveness, scalability behavior, fault tolerance, and general processing performance. Insights into ecosystem maturity, development effort, and financial aspects conclude the assessment. The findings show that no single framework universally outperforms the others. Apache Flink provides unmatched large-scale processing capabilities, scalability, and fault-tolerance behavior at the cost of higher complexity and financial expenses. Kafka Streams offers lightweight support for efficient stream processing while being able to easily handle common distributed stream processing challenges. Standard consumerproducer applications remain a strong choice for simple communication requirements with maximum flexibility. Ultimately, the optimal technology choice depends on project requirements, available resources, and strategic objectives. Finally, this thesis concludes with practical recommendations, guiding questions, and relevant insights to support appropriate technology
    selection.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorStefan Hinterholzer (Supervisor)

    Studyprogram

    • Software Engineering

    Cite this

    '