View Issue Details

IDProjectCategoryView StatusLast Update
000811910000-014: PubSubSpecpublic2023-06-20 15:39
ReporterRandy Armstrong Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.05.02 RC1 
Target Version1.05.03 RC1Fixed in Version1.05.03 RC1 
Summary0008119: Need to State what the Default MQTT ClientId
Description

Should be publisherid but many implementors use a random value to prevent accidental conflicts.

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0008754 closedMatthias Damm Conflict DefaultBrokerPublisherId and MQTT topic tree use of PublisherId 

Activities

Jim Luth

2022-07-19 15:14

administrator   ~0017149

This is a required sub-feature of the Topic tree, not an issue with what is currently specified.

Matthias Damm

2023-03-19 04:11

developer   ~0018893

Should be discussed in F2F together with DefaultBrokerPublishedId and topic tree

Zbynek Zahradnik

2023-03-19 15:06

developer   ~0018894

Beware of the following (from http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html ) - i.e. for the default to be guaranteed to work, it should not exceed 23 encoded bytes, and must contain only decimal digits and lowercase and uppercase English letters.

QUOTED:

The Server MUST allow ClientIds which are between 1 and 23 UTF-8 encoded bytes in length, and that contain only the characters

"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" [MQTT-3.1.3-5].

The Server MAY allow ClientId’s that contain more than 23 encoded bytes. The Server MAY allow ClientId’s that contain characters not included in the list given above.

Matthias Damm

2023-03-24 16:42

developer   ~0019038

Use Hash of ApplicationUri as default for ClientId
Can be used as default PublisherId / Topic Tree

Matthias Damm

2023-06-20 10:53

developer   ~0019549

7.3.5.4 Connection properties

If the ClientID is not configured, the PublisherId is used as ClientID. If the PublisherId is a UInteger, the value is converted to a String.

See also resolution of 0008754 for the content of the PublisherId

Jim Luth

2023-06-20 15:39

administrator   ~0019572

Agreed to changes in virtual F2F.

Issue History

Date Modified Username Field Change
2022-07-19 09:05 Randy Armstrong New Issue
2022-07-19 15:14 Jim Luth Note Added: 0017149
2022-07-19 15:14 Jim Luth Target Version 1.05.02 => 1.05.03 RC1
2022-07-19 15:15 Jim Luth Assigned To => Randy Armstrong
2022-07-19 15:15 Jim Luth Status new => assigned
2023-03-19 04:11 Matthias Damm Note Added: 0018893
2023-03-19 15:06 Zbynek Zahradnik Note Added: 0018894
2023-03-24 16:42 Matthias Damm Note Added: 0019038
2023-03-24 16:42 Matthias Damm Relationship added related to 0008754
2023-06-20 10:53 Matthias Damm Status assigned => resolved
2023-06-20 10:53 Matthias Damm Resolution open => fixed
2023-06-20 10:53 Matthias Damm Fixed in Version => 1.05.03 RC1
2023-06-20 10:53 Matthias Damm Note Added: 0019549
2023-06-20 15:39 Jim Luth Status resolved => closed
2023-06-20 15:39 Jim Luth Note Added: 0019572