New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

quintoandar-kafka

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quintoandar-kafka

Default Kafka NodeJS lib for QuintoAndar

0.0.4
Source
npm
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Node Kafka

NPM

Standard node consumer/producer implementation for QuintoAndar.

Install

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 exemples folder

Configuration

Checkout (node-rdkafka repo)[https://github.com/Blizzard/node-rdkafka/] for configuration info.

FAQs

Package last updated on 17 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts