Skip to content

Commit

Permalink
Merge pull request #271 from ahsandar/master
Browse files Browse the repository at this point in the history
Doc on how to enable gzip
  • Loading branch information
HenryCaiHaiying committed Oct 17, 2016
2 parents 3e734f1 + deeb97c commit e6caaa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -74,6 +74,9 @@ Currently secor supports the following output formats

- **[Parquet] Files (for Protobuf messages)**: Columnar storage format. To use this output format, set `secor.file.reader.writer.factory=com.pinterest.secor.io.impl.ProtobufParquetFileReaderWriterFactory` option. In addition, Protobuf message class per Kafka topic must be defined using option `secor.protobuf.message.class.<topic>=<protobuf class name>`. If all Kafka topics transfer the same protobuf message type, set `secor.protobuf.message.class.*=<protobuf class name>`.

- **Gzip upload format**: To enable compression on uploaded files to the cloud, in `secor.common.properties` set `secor.compression.codec` to a valid compression codec implementing `org.apache.hadoop.io.compress.CompressionCodec` interface, such as `org.apache.hadoop.io.compress.GzipCodec`.


## Tools
Secor comes with a number of tools implementing interactions with the environment.

Expand Down

0 comments on commit e6caaa9

Please sign in to comment.