message_middleware

command module
v0.0.0-...-b24e085 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

README

消息发布-订阅中间件服务

为了促进产品的平台化建设, 把kafka消息队列从服务中抽象出来。让消息队列只关注消息的订阅和发布,使用微服务,减少与业务逻辑的耦合, 该服务支持多实例部署

使用方法:只需要在libs/grpc_server.go文件中填充要接收的消息体和发送的消息体protocolbuffer,业务逻辑在其他业务逻辑服务中实现, 本项目写了一个与工作有关的订单和短信订阅和发送实例, 其目的是让大家明白怎么样使用该服务。

技术栈

  1. beego
  2. rpcx
  3. sarama`

Standard go get:

$  go get -v -u github.com/1046102779/message_middleware

说明

  • 希望与大家一起成长,有任何该服务运行或者代码问题,可以及时找我沟通,喜欢开源,热爱开源, 欢迎多交流
  • 联系方式:cdh_cjx@163.com

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL