Azure Service Bus Queue and Topic

JMN-2253 636 Reputation points
2023-04-27T12:45:15.6333333+00:00

Hi there,

I'm new to Kubernetes in Azure, and I never used Azure Service Bus. So, my questions are very basic:

1- Why do people use Azure Service Bus Queue and Topic with AKS Pods?

2- Why not use Azure Event Hub with AKS Pods?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,447 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-04-28T03:11:12.06+00:00

    @JMN-2253 Thanks for reaching out.

    Azure Service Bus Queue and Topic are commonly used with AKS Pods for messaging scenarios where you need to decouple the sender and receiver of a message. For example, if you have a microservices architecture where each service needs to communicate with other services, you can use Service Bus Queue and Topic to send messages between services without the sender and receiver needing to know about each other. This helps to improve the scalability and reliability of your application.

    Azure Event Hub is a streaming platform that is designed for high-throughput, real-time data streaming scenarios. While it is possible to use Event Hub with AKS Pods, it is typically used for scenarios where you need to ingest and process large volumes of data in real-time, such as IoT telemetry data or log data from multiple sources. If you are not dealing with high-throughput data streaming scenarios, then Service Bus Queue and Topic may be a better fit for your messaging needs.

    To know more about the difference between Asynchronous messaging options you can refer to this architecture document.

    Feel free to get back to me if you have any queries or concerns.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Adrian Dobrescu 266 Reputation points Microsoft Employee
    2023-04-27T12:57:46.9433333+00:00

    Hi Jan,

    Thank you for contacting Microsoft Q&A!

    Basically you can integrate AKS with almost every other service from Azure, including the ones you have mentioned, Azure Service Bus or Azure Event Hub, depending on each other's architecture needs.

    If you have any specific question or blocker feel free to raise it here and we will try to address them as much as possible.

    Looking forward to hearing from you!

    Please "Accept as Answer" and Upvote if it helped, so that it can help others in the community looking for help on similar topics.

    Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.