Skip to content

not-group-b/dataPreformatter

Repository files navigation

notgroupb dataPreformatter

Overview

Formatting Worker to Format Data from different Data Portals into POJOs. It drops all DataPoints older than 8 hours as they are not representative anymore. Furthermore it deduplicates Datapoints by dropping Points that were already ingested during the last 48 hours.

Architecture Overview:

  • Rectangle: Kafka Topic
  • Rhombus+Annotation: Operation Architecture Overview

The Output Queues have the following Schema:

  • HygonData
    • Key: String (Stationname)
    • Value: HygonDataPoint (from dataFormats)
  • PegelOnlineData
    • Key: String (Stationname)
    • Value: PegelOnlineDataPoint (from dataFormats)

Getting Started

Prerequisites

Installing

mvn package

A jar File will be created in the /target directory.

Deployment

For simplicity and portability the jar File has all dependencies included and can simply be run as a jar executable.

java -jar target/dataFormatter-1.1.0-jar-with-dependencies.jar 

Versioning

We use Semamtic Versioning for versioning.

Authors

  • Jan Speckamp - Initial work - speckij

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

About

Formats Data into custom Data format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages