Coder Social home page Coder Social logo

dlx-web's Introduction

dlx-web

Build Status

Web UI and backend to manually handle dead letters. Works by checking out all messages from the dead letter queue and keeping them until shutdown or an action is taken from the GUI. The supported actions is a delete (acks the message on the queue) and resend. Resend sends the message back directly to the first dead-lettering queue unchanged or with the modifications made in the GUI.

Configuration

Configuration is done in the implementing project. Use config/ENVIRONMENT.(js|json).

Useful keys: dlxRabbit (mandatory) specify the RabbitMQ URL and Exchange. routingKeyHeader (optional) if the displayed routing key should be fetched from a header instead of using the actual routing key. dlxQueue (mandatory) the queue to fetch dead lettered messages from. payloadCorrelationId (optional) instead of using the AMQP standard correlation id header use the JSON path from payloadCorrelationId to grab the correlation id from the payload. basicAuth (optional) if set and contains a key username and password DLX-web will be protected by basic auth.

Trello

dlx-web has a simple Trello integration that can display info about and add cards in trello for messages that are on the dead letter queue.

Messages that have an associated card will display a link to the card, which list the card is in and assigned members (if any).

Cards created by dlx-web will will have:

  • Name: DLX <routingKey>
  • Description <correlationId> <message>

To avoid managing state a search is made with the trello api to find cards associated with a message by their correlationId. This also means you can associate a message with a trello card by adding the messages correlationId to the cards description.

Configuration

Trello integration is activated by adding a trello object to the config file.

"trello": {
  "apiKey": "<trello-api-key>",
  "token": "<trello-token>",
  "boardId": "<trello-board-id>",
  "createOnListId": "<trello-list-id>",
  "labelIds": "<trello-label-ids>"
}
  • apiKey (required) see https://trello.com/app-key
  • token (required) see https://trello.com/app-key
  • boardId (required) Board id to associate dlx-web with (find with GET https://api.trello.com/1/members/me/boards)
  • createOnListId (required) List id to create new card on (find with GET https://api.trello.com/1/boards/<boardId>/lists)
  • labelIds (optional) comma separated list with labelIds to add on created card (find with GET https://api.trello.com/1/boards/<boardId>/labels)

dlx-web's People

Contributors

dependabot[bot] avatar kristofferjansson avatar markusn avatar nearutkm avatar

Watchers

 avatar  avatar

dlx-web's Issues

Circuit break trello calls

stop bombing requests to trello when the response is:

429, {"message":"Rate limit exceeded","error":"API_TOKEN_LIMIT_EXCEEDED"}
503, {"error":"ELASTIC_SEARCH_SEARCH_FAILED","message":"Search service failed"}

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.