What is Azure Service Bus?
Azure Service Bus is a fully managed enterprise message broker with message queues and publish-subscribe topics. Service Bus is used to decouple applications and services from each other, providing the following benefits:
Load-balancing work across competing workers
Safely routing and transferring data and control across service and application boundaries
Coordinating transactional work that requires a high degree of reliability
Features:
Message sessions
FIFO guarantees in processing messages in Service Bus queues or subscription sessions are used, Sessions can also be used in implementing request-response patterns
Auto Forwarding
Enables you to chain a queue or subscription to another queue or topic that is part of the same namespace
Dead-lettering
Provide a secondary sub-queue, called a dead-letter queue (DLQ), which holds messages that cannot be delivered to any receiver or processed.
Scheduled delivery
You can submit messages to a queue or topic for delayed processing. For example, to schedule a job to become available for processing by a system at a certain time.
Message deferral
When receiving a message for which processing isn't possible, the entity can defer retrieval to a later point. The message remains in the queue or subscription, but it's set aside.
Transactions
A transaction groups two or more operations together into an execution scope. Service Bus supports grouping operations against a single messaging entity (queue, topic, subscription) within the scope of a transaction.
Filters and actions
Subscribers can define which messages they want to receive from a topic. These messages are specified as one or more named subscription rules. Each rule consists of a filter condition that selects particular messages and optionally contains an action that annotates the selected message.
Auto-delete on idle
This option allows you to specify an idle interval after which the queue is automatically deleted. The interval is reset when there is traffic in the queue. The minimum duration is 5 minutes.
Duplicate detection
Suppose an error occurs that causes the client to have any doubt about the outcome of a send operation. In that case, duplicate detection removes the doubt from these situations by enabling the sender to resend the same message, and the queue or topic discards any duplicate copies.
azure.microsof...
learn.microsof...
Негізгі бет Azure Service Bus Real Life Use cases
Пікірлер