cqlengine.connection should support multiple clusters

Description

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?

Environment

None

Pull Requests

None

Activity

Show:
Alan Boudreault
July 23, 2016, 1:08 AM

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:

Duplicate

Assignee

Unassigned

Reporter

Alexander Klimenko

Fix versions

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Priority

Minor