Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

This is a development service to generate dummy messages and produce events

Notifications You must be signed in to change notification settings

DEalog/dealog-message-generator

Repository files navigation

DEalog Message Generator

Java CI with Maven

The DEalog Message Generator is a service that generates dummy messages for development purpose. It produces a message every 5 seconds and produces an event.

For more information please see the DEalog website.

Development

The following section describes the development setup with all needed prerequisites needed to get the application up and running locally.

Requirements

Running the application

... in dev mode

Start an Apache Kafka. You can use DEalog Kafka Development Cluster e.g. the (https://github.com/DEalog/dealog-kafka-dev-cluster)

You can run your application in dev mode that enables live coding using:

./mvnw quarkus:dev

... and packaging

The application can be packaged using ./mvnw package. It produces the dealog-message-generator-[VERSION]-runner.jar file in the /target directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/lib directory.

The application is now runnable using java -jar target/dealog-message-generator-[VERSION]-runner.jar.

... creating a native executable

You can create a native executable using: ./mvnw package -Pnative.

Or, if you don't have GraalVM installed, you can run the native executable build in a container using: ./mvnw package -Pnative -Dquarkus.native.container-build=true.

You can then execute your native executable with: ./target/dealog-message-generator-[VERSION]

If you want to learn more about building native executables, please consult https://quarkus.io/guides/building-native-image.

Collaboration

If you want to collaborate please follow this guide:

  • Fork the repository
  • Implement the feature, change or bugfix
  • Add tests where it makes sense
  • Update the CHANGELOG.md
  • Create a pull request against the original repository

Used technologies

The DEalog Message service uses the following (main) technologies, frameworks and libraries:

About

This is a development service to generate dummy messages and produce events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages