Categorygithub.com/tommzn/hdb-datasource-exchangerate/lambda
modulepackage
1.0.4
Repository: https://github.com/tommzn/hdb-datasource-exchangerate.git
Documentation: pkg.go.dev

# README

Actions Status CircleCI

Exchange Rate Collector

This package composes a data collector and exchange rate data source to fetch excjange rates and publish it to a SQS queue.

Config

This collector requires a config to get settings for an exchange rate api, AWS SQS and maybe some logging settings.

Example

log:
  loglevel: error
  shipper: logzio  

hdb:
  queue: MyWExchangeRateQueue
  archive: MyEventArchiveQueue

exchangerate:
  url: "https://api.frankfurter.app/latest"
  date_format: "2006-01-02"
  conversions:
    - from: "EUR"
      to: "USD"
    - from: "USD"
      to: "EUR"

aws:
  sqs:
    region: eu-west-1

Links