openair-dpi-kinesis
v1.3.0
Published
Kinesis Dpi microservice
Downloads
4
Readme
openair-dpi-kinesis project
This repository contains a Node.js project under microservice architecture. The main functionality is to receive Aws kinesis stream data and send it to the tenant DPI Mongo databases.
Contributors
- Daniel Santana (Main template creator) [email protected]
- Anahi Martinez [email protected]
- Vincent Medina [email protected]
Running the project
- Make sure to set up an AWS profile for your credentials in your .env file with the following at the root of the project.
AWS_PROFILE='kinesis' AWS_REGION='region' AWS_KINESIS_STREAM='streamName'
- Also configure the credentials in your local environment:
[kinesis] aws_access_key_id = SOME_KEY_ID aws_secret_access_key = SOME_SUPER_SECRET_ACCESS_KEY
To learn how to create profiles see Using Profiles with the AWS CLI
Run Eureka server
npm run eureka
Run project
npm run local
Check coverage
npm run cover
Version History
1.1.0
Stream-sourced documents now populate tenant databases (Mongo connection declared in env vars).
1.0.0
Initial project structure, including Kinesis stream connection and document recovery.