-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from Particular/improve_tryit_doco
Improve tryit doco
- Loading branch information
Showing
9 changed files
with
87 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Running against your own Azure Service Bus system | ||
|
||
If you encounter any issues running the steps below, try the [troubleshooting](#troubleshooting) section or post a question on [our forum](https://discuss.particular.net/tag/masstransit). | ||
|
||
1. Open a terminal and run the following command to shut down the showcase containers if they are running: | ||
|
||
```cmd | ||
docker compose -p particular-platform-showcase -f docker-compose-base.yml -f compose-azure.yml --env-file asb.env down | ||
``` | ||
|
||
- All of the containers should be shown as `Stopped` and there should no longer be any containers running under `particular-platform-showcase` in docker | ||
|
||
1. Open the `src/asb.env` file, located in the folder that the showcase is cloned to, in an editor and update the `CONNECTION_STRING` to point to your own Azure Service Bus namespace. | ||
1. Update the list of queues you want to monitor by editing the `src/queues.txt` file, also located in the folder that the showcase is cloned to. Remember that Azure Service Bus queue names are all lowercase. | ||
1. Run the following command to start the required containers with the updated environment settings: | ||
|
||
```cmd | ||
docker compose -p particular-platform -f docker-compose-base.yml --env-file asb.env --profile infrastructure up | ||
``` | ||
|
||
- The containers should all show a status of `Healthy` | ||
|
||
1. Verify that the setup was correct by navigating to http://localhost:9090/#/configuration/mass-transit-connector. | ||
- All of the configured queues for your system should show here | ||
- For each row in the list of queues: if the queues exist, the status should be green `OK`. If the queues don't exist, i.e. there have never been any errors on that consumer, or if there is an issue connecting to the broker then the status will be red `Not ingesting`. | ||
- If the status is `Not ingesting`, the reason for this can be found in the log entries shown below the queue list. | ||
- Any messages that existed in the error queues should now have been ingested, and will be shown in [Failed Messages](http://localhost:9090/#/failed-messages/all-failed-messages) | ||
|
||
## Troubleshooting | ||
|
||
- | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Running with your own RabbitMQ system | ||
|
||
If you encounter any issues running the steps below, try the [troubleshooting](#troubleshooting) section or ask on [our forum](https://discuss.particular.net/tag/masstransit). | ||
|
||
1. Open a terminal and run the following command to shut down the showcase containers: | ||
|
||
```cmd | ||
docker compose -p particular-platform-showcase -f docker-compose-base.yml -f compose-rabbitmq.yml --env-file rabbit.env down | ||
``` | ||
|
||
- All of the containers should be shown as `Stopped` and there should no longer be any containers running under `particular-platform-showcase` in docker | ||
|
||
1. Open `src/rabbit.env` file, located in the folder that the showcase is cloned to, in an editor and update the RabbitMQ configuration to point to your own RabbitMQ instance. | ||
- `CONNECTION_STRING` A special connection string to connect to RabbitMQ, see https://docs.particular.net/servicecontrol/transports#rabbitmq for syntax format. | ||
- `RABBITMQ_MANAGEMENT_API_URL` The management API URL. | ||
- `RABBITMQ_MANAGEMENT_API_USERNAME` The management API username. | ||
- `RABBITMQ_MANAGEMENT_API_PASSWORD` The management API password. | ||
1. Update the list of queues you want to monitor by editing the `src/queues.txt` file, also located in the folder that the showcase is cloned to. RabbitMQ is case-sensitive so make sure the names are exact. e.g. `myqueue_error`. | ||
1. Run the following command to start the required containers with the updated environment settings: | ||
|
||
```cmd | ||
docker compose -p particular-platform -f docker-compose-base.yml -f compose-rabbitmq-user.yml --env-file rabbit.env --profile infrastructure up | ||
``` | ||
|
||
- The containers should all show a status of `Healthy` | ||
|
||
1. Verify that the setup was correct by navigating to http://localhost:9090/#/configuration/mass-transit-connector. | ||
- All of the configured queues for your system should show here | ||
- For each row in the list of queues: if the queues exist, the status should be green `OK`. If the queues don't exist, i.e. there have never been any errors on that consumer, or if there is an issue connecting to the broker then the status will be red `Not ingesting`. | ||
- If the status is `Not ingesting`, the reason for this can be found in the log entries shown below the queue list. | ||
- Any messages that existed in the error queues should now have been ingested, and will be shown in [Failed Messages](http://localhost:9090/#/failed-messages/all-failed-messages) | ||
|
||
## Troubleshooting | ||
|
||
- | ||
- |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters