Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Add kafka-node as pre-installed package in the Node.js version 8 environment #169

Closed
grudir opened this issue Nov 26, 2018 · 1 comment
Closed

Comments

@grudir
Copy link

grudir commented Nov 26, 2018

The pre-installed packages in the Node.js version 8 environment cover various widely used technologies. Since Kafka is a very popular streaming platform used in many SaaS offerings I request kafka-node to be added to the preinstalled packages in the Node.js version 8 environment.

@csantanapr
Copy link
Contributor

Hi @grudir at the moment we don't include a kafka client library, as the kafka API is better to be use from a persistent connection with a low amount of socket open interactions. In serverless/faas environments your functions will be creating too many open sockets to the kafka API affecting performance for your application but also easily hitting rate limits impose by the vendor such as IBM Cloud Event Stream service for many and fast sockets are allowed from a client to the broker

So the recommendation is to use the Kafka API with persistent connection using a microservice/server It offers lower latency and higher throughput than the other APIs.,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants