open-index/open-npm huggingface dataset:
npm package: @loves/kafka-options-generator
Description: Generates options to connect to Kafka on Heroku
Author: Love's Travel Stops & Country Stores
Latest version: 3.0.0

# kafka-options-generator

Generates Kafka options for running locally or on Heroku

Requires inclusion of env vars: KAFKA_URL, KAFKA_CLIENT_CERT, KAFKA_CLIENT_CERT_KEY, and KAFKA_TRUSTED_CERT in your parent project.

## Usage

```
const optionsGenerator = require('kafka-options-generator');
// require  and instantiate logger
const options = optionsGenerator(process.env);
```

## Patch Notes

### v3 (Jan 2022)

v2 and below support `kafka-node` while in V3 we're removing support for `kafka-node` to support `kafkajs`.