1.1.3 • Published 1 year ago

ihtl-ratecon-materializer v1.1.3

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

ihtl-ratecon-materializer

Consumer messages from ihtl_ratecon_event_json. Keys in on ratecon creations and triggers sending of ratecon via email.

Quick Links

DevProd
values.yamlvalues.yaml
ArgoArgo
Elastic LogsElastic Logs
Sink TopicSink Topic

Setup

  1. 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
  1. Download dependencies (requires npm account setup with @haulynx access)
yarn install
  1. Setup dependent systems locally. (kafka)
docker-compose up -d
  1. 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