Apache Cassandra 与 RabbitMQ 的集成

Apache Cassandra integration with RabbitMQ

我想使用 MQTT 作为与 RabbitMQ Message Broker 通信的协议,但是从 rabbitmq 网站上我找到了这段:

These implementations are suitable for development but sometimes won't be for production needs. MQTT 3.1 specification does not define consistency or replication requirements for retained message stores, therefore RabbitMQ allows for custom ones to meet the consistency and availability needs of a particular environment. For example, stores based on Riak and Cassandra would be suitable for most production environments as those data stores provide tunable consistency.

https://www.rabbitmq.com/mqtt.html

所以,从这一段来看,我应该使用 Cassandra 作为 RabbitMQ 的数据库,但我没有找到任何关于集成 Cassandra 作为 rabbitmq 数据库的信息。

你能帮我一些东西让这成为可能吗?

注意:我是 RabbitMQ 的新手。

该段落专门引用了 MQTT 规范的 "retained messages" 部分,例如您希望长期保留的消息。就像一个 "last know configuration",你可能想应用到任何 MQTT 订阅者,不管它是否在线并在消息发布的那一刻被订阅。

这是一个非常特殊的情况,除非您需要该功能,否则您不必担心将 RabbitMQ 用作 MQTT 代理。对于常规消息,内置的 RabbitMQ 复制选项非常适合并且可用于生产。

到目前为止,RabbitMQ 不支持此功能。 所以,不可能使用另一个数据库而不是 Mnseia 数据库