2.2.1 • Published 4 months ago

kafkajs-utils v2.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

KafkaJS Utils

Collection of simple utils to help working with KafkaJS.

Exactly Once Utils

KafkaOneToNExaftlyOnceManager - Provides a consumer set up to adhere to Exactly Once Semantics (EOS) and generates transactions that adhere to 1:N EOS operations for a given source topic and partition.

KafakaOneToNExactlyOnceExecutor - Provides an executor that will execute 1:N EOS operations. Just provide a processor that takes an event and returns N events.

See class documentation and test cases for more information.

Testing

To locally run tests:

npm run test:start-env # Start Docker Compose env.

npm run test # Run tests.

npm run test:stop-env # Stop Docker Compose env.

2.2.1

4 months ago

2.2.0

4 months ago

2.1.0

4 months ago

2.0.2

5 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago