One benefit of zlib is that it is already supported by the JVM. Supporting Zstandard would require to either reimplement it in Java or ship machine-specific binaries, which I am not sure we are willing to do at the moment.
There are bindings provided for many languages and of course, for java.
The idea would be to let the user choose an algorithm, which implies that the user has the zstd binaries installed (like elastic requires the jre/jdk to be installed).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.