Skip to content

QUANTAXIS/QAPUBSUB

This branch is 4 commits ahead of, 10 commits behind yutiansut/QAPUBSUB:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

181a63a · Apr 4, 2020

History

64 Commits
Mar 17, 2020
Nov 30, 2018
Mar 17, 2020
Nov 24, 2018
Mar 17, 2020
Nov 24, 2018
Nov 24, 2018
Oct 25, 2019
Nov 30, 2018
Mar 17, 2020

Repository files navigation

QUANTAXIS_PUB/SUB

version

  • 1.0 pub/sub模型
  • 1.1 升级并完全更新至最新版本pika
  • 1.2/1.3 重构
  • 1.4 增加direct模型的支持, 增加routing的订阅/分发
  • 1.5 优化pubsub的模式, 规范env, 支持多机分布式/多docker container
  • 1.6 增加debug tool[command line]
  • 1.6.2 修改默认user为 'admin'
  • 1.6.5 增加durable配置和vhost
  • 1.7 优化topic 模式
  • 1.8 优化 add_sub 增加多订阅!!!

安装

pip install quantaxis_pubsub

需要配置的4个 ENV 选项

  • QAPUBSUB_IP 默认 'localhost'
  • QAPUBSUB_PORT 默认 5672
  • QAPUBSUB_USER 默认 'admin'
  • QAPUBSUB_PWD 默认 'admin'

DEBUG tool

qaps_pub --exchange {exchange} --model {direct/fanout} --routing_key {key} --content {content} --user {user} --password {password} --host {host}

qaps_sub --exchange {exchange} --model {direct/fanout} --routing_key {key} --user {user} --password {password} --host {host}

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.0%
  • JavaScript 12.0%