@Override
  protected <K, V> RegionAttributes<K, V> getRegionAttributes() {
    Compressor compressor = null;
    try {
      compressor = SnappyCompressor.getDefaultInstance();
    } catch (Throwable t) {
      // Not a supported OS
      return super.getRegionAttributes();
    }
    RegionAttributes<K, V> attrs = super.getRegionAttributes();
    AttributesFactory<K, V> factory = new AttributesFactory<>(attrs);
    factory.setCompressor(compressor);
    return factory.create();
  }
Tests Distributed Ack Region with compression.

@since GemFire 8.0
geode-core/src/distributedTest/java/org/apache/geode/cache30/DistributedAckRegionCompressionDUnitTest.java