tencent cloud

TDMQ for CMQ

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Strengths
Use Cases
Use Limits
Basic Concepts
Purchase Guide
Billing Overview
Purchase Methods
Pricing Overview
Payment Overdue
Refund
Getting Started
Getting Started with Queue Model
Getting Started with Topic Model
Operation Guide
Queue Service
Topic Subscription
Access Management (CAM)
Tag Management
Alarm Configuration
Message Query and Trace
Practical Tutorial
Message Deduplication
Push/Pull Selection
Success Stories
Online Image Processing
Qidian.com
Development Guide
HTTP Endpoint Subscription
General References
API Documentation
API Documentation
API 2.0 to 3.0 Switch Guide
SDK Documentation
HTTP Data Flow SDK
HTTP Control Flow SDK
SDK Parameter Configuration Description
FAQs
Features
Operations
Service Level Agreement
Contact Us
Glossary
DokumentasiTDMQ for CMQOperation GuideTopic SubscriptionRouting Key Matching Feature Description

Routing Key Matching Feature Description

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-01-03 10:17:36
TDMQ for CMQ routing key match is similar to exchange queue in RabbitMQ and can be used to filter messages so as to enable subscribers to get different messages by condition. When creating a topic, you can enable Routing Matching Key.

Use Instructions

The binding key and routing key are used together and function in a way similar to the message filtering capability of RabbitMQ. The routing key carried when a message is sent is added by the client, and the binding key carried when a subscription relationship is created is the binding relationship between the topic and the subscriber.

Use Limits

There can be up to 5 binding keys, and each of them can contain up to 64 bytes to indicate the route for message delivery, which can include up to 15 dots (namely up to 16 segments).
All routing keys are contained in a string, and each of them can contain up to 64 bytes to indicate the route for message delivery, which can include up to 15 dots (namely up to 16 segments).

Wildcard Description

* (asterisk) represents a word (a letter string) and cannot be empty.
# (hashtag) matches zero or multiple characters.
Example:
If the subscriber is 1.*.0, and the message is 1.any character.0, then it can be received by the subscriber.
If the subscriber is 1.#.0, and the messages are 1.2.3.4.4.2.2.0 and 1.0, then both of them can be received by the subscriber (the elements in the middle of the messages can be arbitrary).
If the subscriber is #, then the subscriber can receive all messages.




Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan