GithubHelp home page GithubHelp logo

jbauers / message-queue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mullvad/message-queue

0.0 1.0 0.0 70 KB

A redis pubsub -> websocket message queue

License: GNU General Public License v3.0

Dockerfile 1.95% Makefile 1.70% Go 96.36%

message-queue's Introduction

message-queue

A message queue that reads messages from redis pubsub, and publishes them to clients connected via websocket

Building

Clone this repository, and run make to build. This will produce a message-queue binary and put them in your GOBIN.

Testing

To run the tests, run make test. To run the integration tests as well, run go test ./.... Note that this requires a local instance of redis and redis-sentinel.

Usage

All options can be either configured via command line flags, or via their respective environment variable, as denoted by [ENVIRONMENT_VARIABLE]. To get a list of all the options, run message-queue -h.

Packaging

In order to deploy message-queue, we use docker.

To build a new image:

  • Update the version in VERSION
  • run make package.

This will create a new image tagged as quay.io/mullvad/message-queue:<version>.

Current docker repo digests:

tag repo path
1.0.0-buster-21.01 quay.io/mullvad/message-queue@sha256:e8da7429612b7954732d1bc19f3d828a7ca193f676398a4d2432130c35eb1406
1.0.0-buster-20.09 quay.io/mullvad/message-queue@sha256:d319005c398ee068afc0967030e56a9c2d4515d52e65440c26a8e17c89e216ba
1.0.0 quay.io/mullvad/message-queue@sha256:8722d0ba33eec49c809af017f70c56cbfe6593b4b0b05c3e13012776f610b590

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.