You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing/destinations/azure_servicebus/configuration.md
+69-5Lines changed: 69 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,6 @@ Here's a rough document explaining how AzureServiceBus works and how the destina
6
6
7
7
Azure ServiceBus supports both PubSub (Topic & Subscription) and Queue. From the Publisher (Azure's term is Sender) perspective, it doesn't really care whether it's publishing to a Topic or to a Queue. So, from the destination config, all we need is a single "name" field.
8
8
9
-
## Authentication
10
-
11
-
For authentication, we currently support "connection_string" which generally have access to the full Namespace. So if the end-user wants to ensure Outpost only has access to their desired queue or topic, they should create a new Namespace just for Outpost.
12
-
13
9
## Message
14
10
15
11
Whether it's publishing to Topic or Queue, the Publisher needs to send an Azure's Message. Here's the full Golang SDK Message struct:
@@ -18,7 +14,7 @@ Whether it's publishing to Topic or Queue, the Publisher needs to send an Azure'
18
14
// Message is a message with a body and commonly used properties.
19
15
// Properties that are pointers are optional.
20
16
typeMessagestruct {
21
-
// ApplicationProperties can be used to store custom metadata for a message.
17
+
// ApplicationProperties can be used to store custom metadata for a message.
22
18
ApplicationPropertiesmap[string]any
23
19
24
20
// Body corresponds to the first []byte array in the Data section of an AMQP message.
@@ -103,3 +99,71 @@ type Config struct {
103
99
```
104
100
105
101
If we want to support these, we can either add them to Config, such as `Config.TTL`, or we can also add a suffix like `Config.MessageTTL` to specify that these config would apply to the Message.
102
+
103
+
## Authentication
104
+
105
+
For authentication, we currently support "connection_string" which by default have access to the full Namespace.
0 commit comments