Skip to content

bitrockteam/kafka-dvs-aviation-edge-producer

Repository files navigation

DVS Aviation Edge Producer

Codacy Badge Build Status Contributor Covenant Scala Steward badge

Configuration

The application references the following environment variables:

  • HOST: server host
  • PORT: server port
  • KAFKA.BOOTSTRAP.SERVERS: valid bootstrap.servers value (see Confluent docs)
  • SCHEMAREGISTRY.URL: valid schema.registry.url value (see Confluent docs)
  • AVIATION_EDGE.BASE_URL: Aviation Edge base URL
  • AVIATION_EDGE.KEY: Aviation Edge API key
  • AVIATION_EDGE.TIMEOUT: request timeout in seconds to Aviation Edge API
  • AVIATION_EDGE.FLIGHT_SPEED_LIMIT: max flight speed to filter on

How to test

Execute unit tests running the following command:

sbt test

How to build

Build and publish Docker image running the following command:

sbt docker:publish

Architectural diagram

Architectural diagram is available here. It can be rendered using PlantText.

Contribution

If you'd like to contribute to the project, make sure to review our recommendations.