Create a topic alias map.
Maximum alias value (0 = aliases disabled)
Clear all alias mappings.
Delete a topic alias mapping.
Alias value to delete
true if mapping existed
Get the topic for an alias.
Alias value to look up
Topic name or undefined if not set
Get the maximum alias value.
Check if an alias has a mapping.
Alias value to check
true if alias is mapped
Check if an alias is valid (within range).
Alias value to check
true if alias is valid
Manages topic aliases for one direction (either client→server or server→client).
Each endpoint maintains its own alias mappings. The maximum alias value is negotiated during connection.
Example