Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@bluexlab/kafka-ts
Advanced tools
Custom Kafka client for internal use at BlueX Trade.
Try running consumer with
npm run example:consumer
And the producer
npm run example:producer
The producer will send a example message, and you should be able to see the consumer receiving it.
This only tests some utility functions to guarantee their consistent behaviors.
npm run test:unit
This tests the entire workflow from starting the producer and the consumer, then produces a message and verify that the consumer did receive the message.
NOTE: Integration test requires you to have a kafka service running at
localhost:9092
. You could also set theNOTIFICATION_BROKERS
environment variable in the.env.test
to point to your kafka server.
npm run test:integration
FAQs
The kafka producer and consumer client
The npm package @bluexlab/kafka-ts receives a total of 3 weekly downloads. As such, @bluexlab/kafka-ts popularity was classified as not popular.
We found that @bluexlab/kafka-ts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.