For some reasons we have to work with several clusters at time from single application.
cqlengine.connection defines connection instance inside the module and allows to operate only one cluster instance at time. Is there any way to bind multiple clusters?
Currently, you cannot bind multiple clusters and use them through the object mapper. However, you can switch the session on-the-fly when required. Here is an example:
See if you want more detail about using this. We are currently investigating the ability to switch sessions and keyspaces on-the-fly using the object mapper. We should be able to come up with a solution soon. Closing this ticket as duplicated. Feel free to follow the progression in these tickets: