An open API service indexing awesome lists of open source software.

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

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!