队列备份运行手册
Prerequisites
Node.js
Installation
Use the upstream install or setup path that matches your environment:
- npm install kafkajs
Requirements and caveats from upstream:
- A modern Apache Kafka® client for Node.js
- KafkaJS is a modern Apache Kafka client for Node.js. It is compatible with Kafka 0.10+ and offers native support for 0.11 features.
- const { Kafka } = require('kafkajs')
Basic usage or getting-started notes:
- Getting Started
- Usage
- ### <a name="getting-started"></a> Getting Started
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/tulios/kafkajs/HEAD/README.md
Documentation
- https://kafka.js.org/docs/getting-started