1.11.7 • Published 6 years ago

kafka-rest-client v1.11.7

Weekly downloads
28
License
MIT
Repository
github
Last release
6 years ago

node-kafka-rest-client

A rest client for producing JSON and binary messages to kafka.

Usage

var KafkaRestClient = require('kafka-rest-client');
var configs = {
    proxyHost: 'localhost',
    proxyPort: 18084
};

var kafkaRestClient = new KafkaRestClient(kafkaRestClientOptions, callback);
kafkaRestClient.connect(callback);

kafkaRestClient.produce(topicName, 'Example Kafka Message', callback);

Options

KafkaProducer constructor accepts these options:

  • proxyHost - Rest proxy hostname to produce kafka messages (default: localhost)
  • proxyPort - Rest proxy port to produce kafka messages (required)

Install

npm install kafka-rest-client

Running tests

Tests are run using npm:

npm run test

Running lint

Tests are run using npm:

npm run lint

MIT Licenced

1.11.7

6 years ago

1.11.6

6 years ago

1.11.5

6 years ago

1.11.4

6 years ago

1.11.3

6 years ago

1.11.2

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.10.1

6 years ago

1.10.0

6 years ago

1.9.5

7 years ago

1.9.4

7 years ago

1.9.3

7 years ago

1.9.2

7 years ago

1.9.1

7 years ago

1.9.0

7 years ago

1.8.0

7 years ago

1.7.1

8 years ago

1.7.0

8 years ago

1.6.8

8 years ago

1.6.7

8 years ago

1.6.5

8 years ago

1.6.4

8 years ago

1.6.3

8 years ago

1.6.2

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.1

8 years ago

1.1.0

9 years ago

1.0.0

9 years ago