quintoandar-kafka
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

Node Kafka

Build Status

NPM

Standard node consumer/producer implementation for QuintoAndar.

Consumer Caracteristics

  • Commits offset to Kafka after message is processed.
    • Node processes messages asynchronously, so there is no guarantee that messages with errors will be reprocessed. This should be done at aplication level.
  • Has an optional custom implementation to make message processing idempotent.
  • Is resilient to cluster node failures.
  • The handleMessageFn is exepected to return a promisse. The promisse should be resolved after the message is processed, this will trigger the offset commit in Kafka.

Examples

See examples folder

Configuration

Checkout kafka-node repo for configuration info.

Readme

Keywords

none

Package Sidebar

Install

npm i quintoandar-kafka

Weekly Downloads

3

Version

0.2.6

License

ISC

Unpacked Size

19.2 kB

Total Files

20

Last publish

Collaborators

  • lucianohgo5a
  • fernahh
  • leandrotk
  • guilhermecaruso
  • cherrylipstick
  • jhleite5a
  • thspinto
  • diequeiroz
  • guilhermesalerno
  • pamepeixinho