Giter Site home page Giter Site logo

hermes's Introduction



Hermes



Hermes provides a single unified API for notifications.

Powerful Templating

Hermes aims to support multiple templating frameworks including:

  • Mustache templates (✓)
  • Go Templates
  • Django Templates
  • MJML

...and many more.

Support for Messaging Tools

  • Slack (✓)
  • Microsoft Teams
  • Google Chat
  • Discord

...and many more.

Support for Issue Tracking Software

  • JIRA (✓)
  • Linear
  • Trello

...and many more.

Immediate Roadmap

  • Hermes UI: Set up templates, subscribers and user notification channels
  • RabbitMQ and Beanstalkd interface
  • gRPC interface

hermes's People

Contributors

vishnu-deepsource avatar parth-deepsource avatar awalvie avatar vishesh-deepsource avatar burntcarrot avatar shruddha-deepsource avatar siddhant-deepsource avatar sourya-deepsource avatar ashwin-deepsource avatar deepsource-autofix[bot] avatar

Stargazers

بلال مسلوب avatar Rohit Sanjay avatar Siddhant N Trivedi avatar  avatar  avatar

Watchers

 avatar

hermes's Issues

Add linear and polynomial backoffs to hermes.

Linear: The base delay time is equal to the attempt count.

Polynomial Time: The base delay time is calculated as:

𝑎^e

where:

𝑎 is the number of unsuccessful attempts that have been made,
𝑒 is the exponent configured for the strategy.

Redial on connection closure events

Go's AMQP library by design does not permit redialing on connection closures out of the box, since a new topology of exchange queue mapping needs to be generated on every reconnection. This necessitates the need for explicitly listening to connection closure events on the NotifyClose() channel to perform redials. The snippet below describes the redialing to the broker backend

for {
  conn, err := amqp.Dial("connection_string")
  notify := conn.NotifyClose(make(chan *amqp.Error)) // channel to receive error events from broker
  ch, err := conn.Channel()
  msgs, err := ch.consume(
    for {
      select { //check connection
        case err = <-notify:
        //work with error
        break // perform reconnection
        case d = <-msgs:
        // work with the message 
      }
    }
  )
}

This is a reliability problem, and as such the implementation for it should be centralized as part of the Dial() method.

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.