What additional libraries are needed to compress the client?

The Datastax Java driver supports client-node connection compression using snappy and LZ4 . When starting the Java driver, it indicates

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.

Two questions:

  • Which β€œLZ4 library” is the driver referencing the above log message? Is this possible for Maven repo?
  • I noticed that the driver pom.xmlhas no dependency on any fast library. Is this compiled into a library? Or is an external library needed in the class loader?
+2
source share
1 answer

Compression libraries are defined in the POM kernel driver .

, . , , , . LZ4 Snappy, POM ( ).

, LZ4 , , LZ4. , , - , , JAVA-697 . .

+2

All Articles