Code Monkey home page Code Monkey logo

masstransitjobconsumer's Introduction

Masstransit + PostgreSQL + ElasticSearch + Kibana

In this project, you will see an implementation of job consumer with polling.

Requirements

  1. Docker-desktop
  2. .Net 5.0 sdk
  3. Visual studio (optional)

How to run

  1. Run this command on the root folder:

    dotnet dev-certs https -ep https/aspnetapp.pfx -p yourpassword

    Replace "yourpassword" with something else in this command and the docker-compose.override.yml file. This creates the https certificate.

  2. Run docker-compose up -d in the root directory, or, in visual studio, set the docker-compose project as startup and run. This should start the WebApi, and also PostgreSQL, ElasticSearch and Kibana.

  3. Visit https://localhost:5001/swagger/index.html to access the application's swagger.

  4. Call the convert video POST route on swagger. Then, pass the received jobId to the GET route.

  5. To see your logs on Kibana, go to http://localhost:5601/.

    1. Click on the Hamburger button (☰) on the upper left, then go to Discover, under Analytics.
    2. Click on Create index pattern. On the text field, enter consumerapp-* and press Next step.
    3. On the time field, select @timestamp and press Create index pattern.
    4. On the left side, click on Index Patterns, under Kibana.
    5. Repeat steps 2 and 3, but on the text field, enter masstransitjobconsumer-*.
    6. After that, click on Hamburger button (☰) and go to discover. You should see some logs. You can select each application logs by changing the dropdown on the left, changing the index pattern.

masstransitjobconsumer's People

Contributors

yanpitangui avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.