GithubHelp home page GithubHelp logo

ccx-mq's Introduction

ccx-mq

介绍

为了学习而造的 mq 轮子。

版本规划

1.0.0

  • 初始架构:broker、client(producer、consumer)
  • 支持 topic(主题),暂不支持消费者/分区/多队列
  • broker 和 client 独立部署,用网络请求生产/消费消息
  • broker 先用单机模式,暂不支持集群
  • 消息存放到内存,暂不持久化
  • 暂不开发 nameserver / 注册中心,客户端和 broker 先直连

1.1.0

  • 消息使用硬盘持久化

如何运行

  1. 启动 broker:ccx-mq-brokerBrokerBootstrap
  2. 启动客户端 Demo:ccx-mq-demoDemoBootstrap,是一个 Web
  3. 调用 http://localhost:8080/producer/send?msg=hello 发送消息
  4. 调用 http://localhost:8080/consumer/pull?count=10 拉消息
  5. 调用 http://localhost:8080/consumer/updateOffset?offset=1 更新位移

参与贡献

  1. Fork 本仓库
  2. 新建分支
  3. 提交代码
  4. 新建 Pull Request

ccx-mq's People

Stargazers

 avatar

Watchers

chenchuxin avatar

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.