Git Product home page Git Product logo

danube's Introduction

Danube

Danube is an open-source distributed Pub/Sub messaging platform (inspired by Apache Pulsar).

Check-out the Docs for more details of the Danube Architecture and the supported concepts.

Currently, the Danube system exclusively supports Non-persistent messaging. This means messages reside solely in memory and are promptly distributed to consumers if they are available, utilizing a dispatch mechanism based on subscription types.

Clients

Allows single or multiple Producers to publish on the Topic and multiple Subscriptions to consume the messages from the Topic.

Producers  Consumers

You can combine the Subscription Type mechanisms in order to obtain message queueing or fan-out pub-sub messaging systems.

Currently, the Danube client libraries are written in:

Community supported clients

Contributions in other languages, such as Python, Java, etc., are also greatly appreciated. If there are any I'll add in this section.

Development environment

I'm continuously working on enhancing and adding new features. Contributions are welcome, and you can also report any issues you encounter.

The crates part of the Danube workspace:

  • danube-broker - The main crate, danube pubsub platform
  • danube-admin - Admin CLI designed for interacting with and managing the Danube cluster
  • danube-client - An async Rust client library for interacting with Danube Pub/Sub messaging platform
  • danube-pubsub - CLI to handle message publishing and consumption,

Follow the instructions on how to setup the development environment.

โš ๏ธ The messsaging platform is currently under active development and may have missing or incomplete functionalities. Use with caution.

danube's People

Contributors

danrusei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

danube's Issues

Race condition

a race condition needs to be investigated:

$ top | grep danube
663119 rdan 20 0 553504 9008 7116 S 0,3 0,1 0:00.75 danube-broker
663119 rdan 20 0 553504 9008 7116 S 0,3 0,1 0:00.76 danube-broker
663119 rdan 20 0 553504 9008 7116 S 0,3 0,1 0:00.77 danube-broker
663119 rdan 20 0 553504 9008 7116 S 0,3 0,1 0:00.78 danube-broker
663119 rdan 20 0 553504 9008 7116 S 78,9 0,1 0:03.18 danube-broker
663119 rdan 20 0 553504 9008 7116 S 254,5 0,1 0:10.84 danube-broker
663119 rdan 20 0 553504 9008 7116 S 254,2 0,1 0:18.49 danube-broker
663119 rdan 20 0 553504 9008 7116 S 249,8 0,1 0:26.01 danube-broker

To reproduce (tested with go client as well):
RUST_LOG=info target/debug/examples/producer_json

in another terminal :
start wait few seconds , stop the consumer and immediately start again
RUST_LOG=info target/debug/examples/consumer_json

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.