@Override
    public Compressor.Compression compress(Query query, byte[] payload) {
        CompressionType compression = CompressionType.valueOf(query.properties().getString(dispatchCompression, "LZ4").toUpperCase());
        return compressor.compress(compression, payload);
    }
The compression method which will be used with rpc dispatch. "lz4" (default) and "none" is supported.
container-search/src/main/java/com/yahoo/search/dispatch/rpc/CompressService.java