简体   繁体   English

Lagom Cassandra 驱动程序

[英]Lagom Cassandra Driver

According to some research about Lagom and Cassandra, I found that:根据对 Lagom 和 Cassandra 的一些研究,我发现:

  1. Lagom uses DataStax Java Driver for Cassandra, and Lagom 为 Cassandra 使用 DataStax Java 驱动程序,以及

  2. DataStax Java Driver only supports Cassandra 3.0.x ( link ) DataStax Java 驱动程序仅支持 Cassandra 3.0.x( 链接

So, if I want to use Cassandra 3.11 and Lagom, what should I do:所以,如果我想使用 Cassandra 3.11 和 Lagom,我应该怎么做:

  1. Should I configure Lagom with another Cassandra driver like Achilles, PlayORM, ... ( link ).我应该为 Lagom 配置另一个 Cassandra 驱动程序,如 Achilles、PlayORM、...( 链接)。 Is that possible?那可能吗?
  2. is DataStax support Cassandra 3.11 in the enterprise edition? DataStax 是否支持企业版中的 Cassandra 3.11?

Any help, please?请问有什么帮助吗?

DataStax Java Driver 3.2.0 that is used by Lagom should work with Cassandra 3.11 out of the box (just checked it myself using simple queries). Lagom 使用的 DataStax Java Driver 3.2.0 应该可以与 Cassandra 3.11 一起使用(只是使用简单的查询自己检查过)。

Even if it won't work out of the box, you can explicitly override driver version in Maven or other build system.即使它不能开箱即用,您也可以在 Maven 或其他构建系统中显式覆盖驱动程序版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM