data-utils-biconomy
v1.0.0
Published
This library will enable easy data warehouse CRUD functionalities for Biconomy's dev team
Downloads
2
Readme
data-utils
Before using this Kafka producer, ensure you have the following:
- Node.js and npm installed
- Access to a running Kafka broker
- Access to a Confluent Schema Registry service
- Knowledge of Avro schemas and schema registry concepts
Installation
Clone this repository:
git clone https://github.com/bcnmy/data-utils.git
Install the dependencies npm install
Usage
Configure the project: Set the appropriate values in the .env file for your Kafka broker and Schema Registry URL.
Run the Kafka producer: cd module node main.js The producer will push sample data to the Kafka topic, using schema validation and serialization.
Configuration
Configure the project by setting values in the .env file:
KAFKA_HOST: The Kafka broker host and port (default: localhost:9092). SCHEMA_REGISTRY_URL: The URL of the Confluent Schema Registry (default: localhost:8081).