A better message queue built by rust

Overview

bettermq

A better message queue built by rust

I start this project to study Rust, and the idea is from Facebook's FOQS

protocol: https://github.com/fxsjy/bettermq/blob/main/proto/bettermq.proto

bmq-cli

    
USAGE:
    bmq-cli [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    ack        ack a message
    dequeue    get messages from queue
    enqueue    put a new message into queue
    help       Prints this message or the help of the given subcommand(s)

bmq-cli enqueue

put a new message into queue

USAGE:
    bmq-cli enqueue [OPTIONS]

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -a, --after 
   
               [default: 0]
    -b, --benchmark 
    
            [default: 10]
    -f, --file 
     
          
    -h, --host 
      
                     [default: http://127.0.0.1:8404]
    -m, --meta 
       
         [default: meta] -p, --payload 
        
          [default: ] -r, --priority 
         
           [default: 0] -t, --topic 
          
            [default: root] 
          
         
        
       
      
     
    
   

bmq-cli dequeue

get messages from queue

USAGE:
    bmq-cli dequeue [OPTIONS]

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --count 
   
               [default: 1]
    -h, --host 
    
          [default: http://127.0.0.1:8404]
    -l, --lease 
     
                 [default: 0]
    -t, --topic 
      
                  [default: root]

      
     
    
   

bmq-cli ack

ack a message

USAGE:
    bmq-cli ack [OPTIONS] --id 
   
    

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -h, --host 
    
          [default: http://127.0.0.1:8404]
    -i, --id 
     
              
    -t, --topic 
      
                  [default: root]

      
     
    
   
You might also like...
Shows my Spotify status on a small screen. Powered by ESP-IDF & built with 🧑 in Rust! πŸ¦€
Shows my Spotify status on a small screen. Powered by ESP-IDF & built with 🧑 in Rust! πŸ¦€

ESP Display A small embedded project that shows what I'm listening to on Spotify by using my Spotify service. Example Notable Features ESP32-S3 board

A clean, custom-built modular kernel ready to boot on x86_64.
A clean, custom-built modular kernel ready to boot on x86_64.

Lateral is a work-in-progress multitasking monolithic kernel + OS meant as a fun summer project. It has recently expanded into more than I could imagi

Software adapter for various Chunithm slider controllers with a built-in Brokenithm web controller
Software adapter for various Chunithm slider controllers with a built-in Brokenithm web controller

slidershim Software adapter for various Chunithm slider controllers with a built-in Brokenithm web controller. Has support for keyboard/gamepad output

Announce blogs and send emails. Originally built for ConnectDome.
Announce blogs and send emails. Originally built for ConnectDome.

ConnectDome - Rust Notify A simple service to announce new blogs on your Slack/Discord + send emails to your list via your TES. Feature 1: Posts blogs

Blazingly fast spam classification API built using Rocket Web Framework.

Telegram Antispam API Blazingly fast spam classification API built using Rocket Web Framework. Notes The classifier works in aggressive mode, it can s

First Git on Rust is reimplementation with rust in order to learn about rust, c and git.

First Git on Rust First Git on Rust is reimplementation with rust in order to learn about rust, c and git. Reference project This project refer to the

A stupid macro that compiles and executes Rust and spits the output directly into your Rust code

inline-rust This is a stupid macro inspired by inline-python that compiles and executes Rust and spits the output directly into your Rust code. There

Learn-rust - An in-depth resource to learn Rust πŸ¦€

Learning Rust πŸ¦€ Hello friend! πŸ‘‹ Welcome to my "Learning Rust" repo, a home for my notes as I'm learning Rust. I'm structuring everything into lesson

A highly modular Bitcoin Lightning library written in Rust. Its Rust-Lightning, not Rusty's Lightning!

Rust-Lightning is a Bitcoin Lightning library written in Rust. The main crate, lightning, does not handle networking, persistence, or any other I/O. Thus, it is runtime-agnostic, but users must implement basic networking logic, chain interactions, and disk storage. More information is available in the About section.

Owner
Sun Junyi
Sun Junyi
Beanstalk is a simple, fast work queue.

beanstalkd Simple and fast general purpose work queue.

Beanstalkd 6.3k Dec 30, 2022
A lock-free thread-owned queue whereby tasks are taken by stealers in entirety via buffer swapping

Swap Queue A lock-free thread-owned queue whereby tasks are taken by stealers in entirety via buffer swapping. This is meant to be used [thread_local]

Thomas Sieverding 20 Sep 9, 2022
Simplify temporary email management and interaction, including message retrieval and attachment downloads, using Rust.

Tempmail The Tempmail simplifies temporary email management and interaction, including message retrieval and attachment downloads, using the Rust prog

Dilshad 6 Sep 21, 2023
A programming language. Better mantra pending.

Dusk Dusk is a programming language I've been working on on and off for the past while now. It's still very much in its infancy (... a quick look thro

Kaylynn Morgan 14 Oct 24, 2022
Building a better screen reader for the Linux desktop, one step at a time.

Building a better screen reader for the Linux desktop, one step at a time.

Odilia 44 Dec 31, 2022
A simply better way to make Discord bots.

Cognite ?? A simple blazingly fast language agnostic microservice driven Discord bot framework made in rust that leverages Apache Kafka and KeyDB to t

Eludris 5 Aug 26, 2022
Better Valtrun with Aimbot and BhopπŸ”₯πŸ”₯πŸ”₯

BetterValthrun Better Valtrun with Aimbot and Bhop?????? The New Era Valthrun is an open source external Counter-Strike 2 read only kernel-level gamep

Jonas Zimmerman 8 Oct 20, 2023
🦜 A hassle-free, highly performant, host it yourself Discord music bot built with Serenity in Rust. Powered by youtube-dl and Genius.

?? A hassle-free, highly performant and fast evolving Discord music bot built with Serenity in Rust. Deployment Usage Just create a bot account, copy

Miguel Mano 82 Dec 14, 2022
πŸš€ Fast and 100% API compatible postcss replacer, built in Rust

?? Fast and 100% API compatible postcss replacer, built in Rust

θΏ·ζΈ‘ 472 Jan 7, 2023
Risc-V assembly interpreter built with pure Rust

Risc-V Interpreter Interpreter for Risc-V assembly built with Rust Report bug Β· Request feature Table of contents Quick start Exemple Program Instruct

null 2 Aug 24, 2022