Skip to content

Sample showing how to use job consumers with RabbitMQ, EF Core, and Postgres

License

Notifications You must be signed in to change notification settings

MassTransit/Sample-JobConsumers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Job Consumer Sample

Generate certificate and configure local machine:

PC:

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!