https://github.com/masstransit/sample-jobconsumers
Sample showing how to use job consumers with RabbitMQ, EF Core, and Postgres
https://github.com/masstransit/sample-jobconsumers
Last synced: about 1 year ago
JSON representation
Sample showing how to use job consumers with RabbitMQ, EF Core, and Postgres
- Host: GitHub
- URL: https://github.com/masstransit/sample-jobconsumers
- Owner: MassTransit
- License: apache-2.0
- Created: 2020-09-11T13:40:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T21:11:14.000Z (over 1 year ago)
- Last Synced: 2025-04-02T14:54:32.776Z (about 1 year ago)
- Language: C#
- Size: 63.5 KB
- Stars: 47
- Watchers: 7
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Job Consumer Sample
Generate certificate and configure local machine:
PC:
```PowerShell
dotnet dev-certs https --clean
dotnet dev-certs https -ep "$env:USERPROFILE\.aspnet\https\aspnetapp.pfx" -p Passw0rd
dotnet dev-certs https --trust
```
MAC:
```
dotnet dev-certs https --clean
dotnet dev-certs https -ep ~/.aspnet/https/aspnetapp.pfx -p Passw0rd
dotnet dev-certs https --trust
```
Read more here:
https://learn.microsoft.com/en-us/aspnet/core/security/docker-compose-https?view=aspnetcore-6.0#starting-a-container-with-https-support-using-docker-compose
Use the `docker-compose.yml` file to startup JobService, RabbitMQ and Postgres. Or run `docker compose up --build`.
Navigate to `https://localhost:5001/swagger` to post a video to convert.
Supports local debugging from VS/Rider. Ctrl + F5 and navigate to:
`http://localhost:5002/swagger`
`https://localhost:5003/swagger`
Enjoy the show!