esl / MongooseIM

MongooseIM is Erlang Solutions' robust, scalable and efficient XMPP server, aimed at large installations. Specifically designed for enterprise purposes, it is fault-tolerant and can utilise the resources of multiple clustered machines.
Other
1.67k stars 427 forks source link

Using elasticsearch & cassandra #3681

Closed harshagarwal00 closed 1 year ago

harshagarwal00 commented 2 years ago

MongooseIM version: (put the version) Installed from: (source or pkg) Erlang/OTP version: (put the version)

Is there a way to use both cassandra as well as elasticsearch to store messages. Use case: need full text search capability of elasticsearch and reliability of cassandra

chrzaszcz commented 2 years ago

It is possible to configure one backend for one-to-one messages and a different one for groupchat messages:

[modules.mod_mam]
  pm.backend = "cassandra"
  muc.backend = "elasticsearch"

However, it is not possible to enable more than one backend for one domain for pm (and the same is true for muc). This is currently not on our roadmap, because it is non-trivial. We will put it on our roadmap if there is more demand or if you are interested in sponsoring the effort.

pawlooss1 commented 1 year ago

Closing the issue due to lack of activity.