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
@@ -5,7 +5,7 @@ An extension to [ServiceControl](https://docs.particular.net/servicecontrol) tha
5
5
## How to use this image
6
6
7
7
This extension currently supports both RabbitMQ and Azure Service Bus brokers.
8
-
In order to successfully run this extension, you need to first run the ServiceControl container. Read more about the ServiceControl [image](https://hub.docker.com/r/particular/servicecontrol).
8
+
In order to successfully run this extension, you need to first run the ServiceControl container. Read more about the [ServiceControl image](https://hub.docker.com/r/particular/servicecontrol).
9
9
10
10
### 1. Setup the connector
11
11
@@ -16,11 +16,21 @@ Before the connector can be run, the connector needs:
16
16
17
17
To do this you need to run the container with the `--run-mode setup` option:
The `queues-list` command will output onto the console a list of applicable queues that have been found in the broker.
@@ -31,24 +41,63 @@ By default, we only list the queues that end with `_error` (the default naming c
31
41
Assuming a RabbitMQ message broker is also hosted in a Docker container. Replace the <port>, <username> and <password> sections with their respective values.
@@ -63,27 +112,52 @@ From the previous step, we have piped the list of error queues output to the con
63
112
The last step is to map the queues text file to the docker container `-v [local_path_to_queues_file]:/app/queues.txt:ro`, then run the connector to bridge MassTransit errors queues with the Particular Platform.
64
113
65
114
```shell
66
-
docker run -e TRANSPORT_TYPE=<RabbitMQ|AzureServiceBus|AzureServiceBusWithDeadLetter> -e CONNECTION_STRING=<connection string> -v [local_path_to_queues_file]:/app/queues.txt:ro particular/servicecontrol-masstransit-connector:latest --run-mode run
Assuming a RabbitMQ message broker is also hosted in a Docker container. Replace the <port>, <username> and <password> sections with their respective values.
72
126
73
127
```shell
74
-
docker run -e TRANSPORT_TYPE=RabbitMQ -e CONNECTION_STRING=host=host.docker.internal -e RABBITMQ_MANAGEMENT_API_URL=http://host.docker.internal:<port> -e RABBITMQ_MANAGEMENT_API_USERNAME=<username> -e RABBITMQ_MANAGEMENT_API_PASSWORD=<password> -v $(pwd)/queues.txt:/app/queues.txt:ro particular/servicecontrol-masstransit-connector:latest --run-mode run
| Azure Service Bus with Dead Letter |`AzureServiceBusWithDeadLetter`| Azure Service Bus configured to ingest from [dead-letter queues](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues). |
| Azure Service Bus with Dead Letter |`AzureServiceBusWithDeadLetter`| Azure Service Bus configured to ingest from [dead-letter queues](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues). |
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ A ServiceControl container image that adds support for processing [MassTransit](
4
4
5
5
## Installation
6
6
7
-
The connector is container image which is **Linux Arm64** and **Linux Amd64** compatible. The image is available at https://hub.docker.com/r/particular/servicecontrol-masstransit-connector . Please read the docker hub README for more information on available tags and container usage.
7
+
The connector is container image which is **Linux Arm64** and **Linux Amd64** compatible. The image is available at <https://hub.docker.com/r/particular/servicecontrol-masstransit-connector> . Please read the docker hub README for more information on available tags and container usage.
> The following creates a multiplatform images. This can only be build when the "Use containerd for pulling and storing images" is enabled under General.
29
29
30
30
> [!NOTE]
31
-
> The dockerfile is also compatible with https://podman.io/, replace `docker buildx build` with `podman build`.
31
+
> The dockerfile is also compatible with <https://podman.io/>, replace `docker buildx build` with `podman build`.
32
32
33
33
To locally build and test the container run the following in any shell:
0 commit comments