kafkajs-snappy

Snappy codec for KafkaJS

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
kafkajs-snappy
421.1.04 years ago4 years agoMinified + gzip package size for kafkajs-snappy in KB

Readme

KafkaJS-Snappy
Build Status npm version
Snappy codec for KafkaJS

Installation

npm install kafkajs-snappy
# yarn add kafkajs-snappy

Configuration

const {  CompressionTypes, CompressionCodecs } = require('kafkajs')
const SnappyCodec = require('kafkajs-snappy')

CompressionCodecs[CompressionTypes.Snappy] = SnappyCodec

License

See LICENSE for more details.