code: public static String getCompressionType(Map<String, Object> properties) {
      return (String) properties.get(COMPRESSION_TYPE_KEY);
    }
docs: Return compression type
  @param properties Compression config settings
  @return String representing compression type, null if none exists