【发布时间】:2015-04-29 23:06:55
【问题描述】:
Datastax Java 驱动程序支持使用snappy and LZ4 的客户端节点连接压缩。启动 Java 驱动程序时会声明
WARN [2015-04-28 16:13:59,906] com.datastax.driver.core.FrameCompressor: Cannot find LZ4 class, you should make sure the LZ4 library is in the classpath if you intend to use it. LZ4 compression will not be available for the protocol.
两个问题:
- 上述日志消息中的驱动程序指的是哪个“LZ4 库”?可能有 Maven 回购吗?
- 我注意到驱动程序
pom.xml不依赖于任何 snappy 库。这是编译到库中的吗?或者类加载器中是否需要提供外部库?
【问题讨论】: