bitquery-kafka
v1.0.3
Published
A wrapper package to use Kafka solution from Bitquery without writing complex code
Downloads
6
Maintainers
Readme
bitquery-kafka
bitquery-kafka is an npm package for consuming Kafka messages from Bitquery. Bitquery is an onchain data provider firm that provides blockchain data solutions in the form of GraphQL APIs, Websocket and Kafka streams. The Kafka streams is useful when having low latency is of the utmost importance. The purpose of this package is to streamline the development process without worrying about setting up Kafka stream.
Installation
npm install bitquery-kafkaUsage
const {getStream} = require('bitquery-kafka');
getStream("<username>", "<password>", "<topic>", "<groupName>");<username> & <password>: The credentials to access the Kafka stream. To get your credentials contact - [email protected]
<topic>: The topic name of the Kafka message that the user wants to subscribe.
<groupName>: Distinction for when multiple streams are accessed from one cluster(when one set of <username> and <password> are used).
To read more about Bitquery Kafka solutions checkout their official documentation.
Contributing
Contributions are welcome! Feel free to submit issues and pull requests here.
License
ISC License © 2025 bitquery-kafka
