ihtl-ratecon-materializer
v1.1.3
Published
Consumes ratecon creation events to trigger notification.
Downloads
3
Readme
ihtl-ratecon-materializer
Consumer messages from ihtl_ratecon_event_json. Keys in on ratecon creations and triggers sending of ratecon via email.
Quick Links
| Dev | Prod | |---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------| | values.yaml | values.yaml | | Argo | Argo | | Elastic Logs | Elastic Logs | | Sink Topic | Sink Topic |
Setup
- Ensure the correct version of node is being used. See docker/Dockerfile for version
node --version
nvm install x.x.x
nvm use x.x.x
- Download dependencies (requires npm account setup with @haulynx access)
yarn install
- Setup dependent systems locally. (kafka)
docker-compose up -d
- Kafka topic creation
yarn sync:kafka
Functional Testing
Option 1 (do this): Run ihtl-ratecon-api locally and use Postman collection to create ratecons. You'll need to ensure only one of the kafka clusters is running. The easiest way is to spin down all pods under this materializer, do docker-compose for api as it has a database + kafka.
Option 2 (quick/simple): Runs a script under ./kafka-local that produces a static message to the topic. Edit it as needed
yarn produce-message