AMQP) 的开源实现,RabbitMQ 3.7.0 Milestone 1 发布
RabbitMQ 3.7.0 Milestone 1发布,此版本的更新内容如下:
服务器改进内容:
-
Lager-based logging: pluggable backends, debug log level, more flexibility in
configuration.RabbitMQ now uses Lager for its logging subsystem.
This brings a group of benefits: (quite verbose) debug log level, pluggable logging
backends (e.g. logging to Syslog no longer requires external tools), and much
more flexibility in logging configuration.See rabbitmq.config.example
for examples of logging configuration with Lager.GitHub issue: rabbitmq-server#94
管理插件改进内容:
-
Migration to Cowboy REST
RabbitMQ management plugin as well as its extensions (e.g. those of
Federation and Shovel) now uses Cowboy REST
instead of Webmachine. Cowboy is a state-of-the-art open source Erlang HTTP 1.1 server and REST microframework
that is also used in the plugins that provide WebSocket support.The change is largely invisible to management UI and HTTP API
clients. Biggest difference is that PUT responses now use201 Createdinstead of
204 No Content.Plugins that extend management UI need to be ported to Cowboy REST.
GitHub issue: rabbitmq-management#63
-
Dual IP Stack Support
Management plugin now can be configured to use IPv6 or both IPv6 and IPv4.
GitHub issue: rabbitmq-management#64
Shovel 插件改进内容:
-
Message timestamping.
Shovel now adds an extra header that contains the timestamp
indicating when message was shovelled.GitHub issue: rabbitmq-shovel#2
详细改进及下载请看这里
RabbitMQ 是由 LShift 提供的一个 Advanced Message Queuing Protocol (AMQP) 的开源实现,由以高性能、健壮以及可伸缩性出名的 Erlang 写成,因此也是继承了这些优点。
AMQP 里主要要说两个组件:Exchange 和 Queue (在 AMQP 1.0 里还会有变动),如下图所示,绿色的 X 就是 Exchange ,红色的是 Queue ,这两者都在 Server 端,又称作 Broker ,这部分是 RabbitMQ 实现的,而蓝色的则是客户端,通常有 Producer 和 Consumer 两种类型: