Skip to content

Commit e7a2e0b

Browse files
authored
Clarify source parameter meaning (#25992)
This caused me much confusion: the source should not contain the domain name, it should contain the domain topic (name).
1 parent f514519 commit e7a2e0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/core/azure-core/azure/core/messaging.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CloudEvent(object): # pylint:disable=too-many-instance-attributes
2828
All required parameters must be populated in order to send to Azure.
2929
3030
:param source: Required. Identifies the context in which an event happened. The combination of id and source must
31-
be unique for each distinct event. If publishing to a domain topic, source must be the domain name.
31+
be unique for each distinct event. If publishing to a domain topic, source must be the domain topic name.
3232
:type source: str
3333
:param type: Required. Type of event related to the originating occurrence.
3434
:type type: str
@@ -53,7 +53,7 @@ class CloudEvent(object): # pylint:disable=too-many-instance-attributes
5353
and must not exceed the length of 20 characters.
5454
:type extensions: Optional[Dict]
5555
:ivar source: Identifies the context in which an event happened. The combination of id and source must
56-
be unique for each distinct event. If publishing to a domain topic, source must be the domain name.
56+
be unique for each distinct event. If publishing to a domain topic, source must be the domain topic name.
5757
:vartype source: str
5858
:ivar data: Event data specific to the event type.
5959
:vartype data: object

0 commit comments

Comments
 (0)