├── .codeclimate.yml ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .nrepl-history ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── README.ts.md ├── lib ├── assignment │ ├── partitioners │ │ ├── default.js │ │ └── hash_crc32.js │ └── strategies │ │ ├── consistent.js │ │ ├── default.js │ │ └── weighted_round_robin.js ├── base_consumer.js ├── bluebird-configured.js ├── client.js ├── connection.js ├── errors.js ├── group_admin.js ├── group_consumer.js ├── index.js ├── producer.js ├── protocol │ ├── admin.js │ ├── common.js │ ├── fetch.js │ ├── globals.js │ ├── group_membership.js │ ├── index.js │ ├── metadata.js │ ├── misc │ │ ├── compression.js │ │ └── crc32.js │ ├── offset.js │ ├── offset_commit_fetch.js │ └── produce.js └── simple_consumer.js ├── package.json ├── test ├── 01.producer.js ├── 02.simple_consumer.js ├── 03.group_consumer.js ├── 04.group_admin.js ├── 05.other.js ├── 06.strategies.js ├── 07.compression.js ├── 08.connection.js ├── 09.partitioners.js ├── globals.js ├── mocha.opts └── ssl │ ├── ca-cert │ ├── ca-cert.srl │ ├── ca-key │ ├── cert-file │ ├── cert-signed │ ├── client.crt │ ├── client.csr │ ├── client.key │ ├── client.truststore.jks │ ├── server.keystore.jks │ └── server.truststore.jks └── types ├── assignment ├── index.d.ts ├── partitioners │ ├── default.d.ts │ ├── hash_crc32.d.ts │ └── index.d.ts └── strategies │ ├── consistent.d.ts │ ├── default.d.ts │ ├── index.d.ts │ └── weighted_round_robin.d.ts ├── base_consumer.d.ts ├── client.d.ts ├── connection.d.ts ├── errors.d.ts ├── group_admin.d.ts ├── group_consumer.d.ts ├── index.d.ts ├── kafka.d.ts ├── producer.d.ts ├── protocol └── index.d.ts └── simple_consumer.d.ts /.codeclimate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/.codeclimate.yml -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /coverage 3 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /coverage 3 | *.swp 4 | -------------------------------------------------------------------------------- /.nrepl-history: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/README.md -------------------------------------------------------------------------------- /README.ts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/README.ts.md -------------------------------------------------------------------------------- /lib/assignment/partitioners/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/assignment/partitioners/default.js -------------------------------------------------------------------------------- /lib/assignment/partitioners/hash_crc32.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/assignment/partitioners/hash_crc32.js -------------------------------------------------------------------------------- /lib/assignment/strategies/consistent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/assignment/strategies/consistent.js -------------------------------------------------------------------------------- /lib/assignment/strategies/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/assignment/strategies/default.js -------------------------------------------------------------------------------- /lib/assignment/strategies/weighted_round_robin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/assignment/strategies/weighted_round_robin.js -------------------------------------------------------------------------------- /lib/base_consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/base_consumer.js -------------------------------------------------------------------------------- /lib/bluebird-configured.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/bluebird-configured.js -------------------------------------------------------------------------------- /lib/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/client.js -------------------------------------------------------------------------------- /lib/connection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/connection.js -------------------------------------------------------------------------------- /lib/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/errors.js -------------------------------------------------------------------------------- /lib/group_admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/group_admin.js -------------------------------------------------------------------------------- /lib/group_consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/group_consumer.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/producer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/producer.js -------------------------------------------------------------------------------- /lib/protocol/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/admin.js -------------------------------------------------------------------------------- /lib/protocol/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/common.js -------------------------------------------------------------------------------- /lib/protocol/fetch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/fetch.js -------------------------------------------------------------------------------- /lib/protocol/globals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/globals.js -------------------------------------------------------------------------------- /lib/protocol/group_membership.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/group_membership.js -------------------------------------------------------------------------------- /lib/protocol/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/index.js -------------------------------------------------------------------------------- /lib/protocol/metadata.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/metadata.js -------------------------------------------------------------------------------- /lib/protocol/misc/compression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/misc/compression.js -------------------------------------------------------------------------------- /lib/protocol/misc/crc32.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/misc/crc32.js -------------------------------------------------------------------------------- /lib/protocol/offset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/offset.js -------------------------------------------------------------------------------- /lib/protocol/offset_commit_fetch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/offset_commit_fetch.js -------------------------------------------------------------------------------- /lib/protocol/produce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/protocol/produce.js -------------------------------------------------------------------------------- /lib/simple_consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/lib/simple_consumer.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/package.json -------------------------------------------------------------------------------- /test/01.producer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/01.producer.js -------------------------------------------------------------------------------- /test/02.simple_consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/02.simple_consumer.js -------------------------------------------------------------------------------- /test/03.group_consumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/03.group_consumer.js -------------------------------------------------------------------------------- /test/04.group_admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/04.group_admin.js -------------------------------------------------------------------------------- /test/05.other.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/05.other.js -------------------------------------------------------------------------------- /test/06.strategies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/06.strategies.js -------------------------------------------------------------------------------- /test/07.compression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/07.compression.js -------------------------------------------------------------------------------- /test/08.connection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/08.connection.js -------------------------------------------------------------------------------- /test/09.partitioners.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/09.partitioners.js -------------------------------------------------------------------------------- /test/globals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/globals.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/mocha.opts -------------------------------------------------------------------------------- /test/ssl/ca-cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/ca-cert -------------------------------------------------------------------------------- /test/ssl/ca-cert.srl: -------------------------------------------------------------------------------- 1 | F30A6DF55EFD2276 2 | -------------------------------------------------------------------------------- /test/ssl/ca-key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/ca-key -------------------------------------------------------------------------------- /test/ssl/cert-file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/cert-file -------------------------------------------------------------------------------- /test/ssl/cert-signed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/cert-signed -------------------------------------------------------------------------------- /test/ssl/client.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/client.crt -------------------------------------------------------------------------------- /test/ssl/client.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/client.csr -------------------------------------------------------------------------------- /test/ssl/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/client.key -------------------------------------------------------------------------------- /test/ssl/client.truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/client.truststore.jks -------------------------------------------------------------------------------- /test/ssl/server.keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/server.keystore.jks -------------------------------------------------------------------------------- /test/ssl/server.truststore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/test/ssl/server.truststore.jks -------------------------------------------------------------------------------- /types/assignment/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/index.d.ts -------------------------------------------------------------------------------- /types/assignment/partitioners/default.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/partitioners/default.d.ts -------------------------------------------------------------------------------- /types/assignment/partitioners/hash_crc32.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/partitioners/hash_crc32.d.ts -------------------------------------------------------------------------------- /types/assignment/partitioners/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './hash_crc32'; 2 | -------------------------------------------------------------------------------- /types/assignment/strategies/consistent.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/strategies/consistent.d.ts -------------------------------------------------------------------------------- /types/assignment/strategies/default.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/strategies/default.d.ts -------------------------------------------------------------------------------- /types/assignment/strategies/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/strategies/index.d.ts -------------------------------------------------------------------------------- /types/assignment/strategies/weighted_round_robin.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/assignment/strategies/weighted_round_robin.d.ts -------------------------------------------------------------------------------- /types/base_consumer.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/base_consumer.d.ts -------------------------------------------------------------------------------- /types/client.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/client.d.ts -------------------------------------------------------------------------------- /types/connection.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/connection.d.ts -------------------------------------------------------------------------------- /types/errors.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/errors.d.ts -------------------------------------------------------------------------------- /types/group_admin.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/group_admin.d.ts -------------------------------------------------------------------------------- /types/group_consumer.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/group_consumer.d.ts -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/kafka.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/kafka.d.ts -------------------------------------------------------------------------------- /types/producer.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/producer.d.ts -------------------------------------------------------------------------------- /types/protocol/index.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /types/simple_consumer.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oleksiyk/kafka/HEAD/types/simple_consumer.d.ts --------------------------------------------------------------------------------