A microservice project based on Spring Boot to send/receive/manage messages to/from a Kafka Broker.
The service delivers the following main features:
- publish messages to any topic
- register for notifications for messages on selected topics
- for each message received, trigger one or more actions
- generic and configurable with respect to topics and actions
The service works with one of the followings:
- an instance of Apache Kafka running on some on-prem resource or on the cloud
- a managed instance of Microsoft EventHubs on the cloud with the Event Hubs for Kafka feature enabled
by using the Kafka Protocol.
-
Prepare the configuration file.
-
Start the Kafka-Dispatcher as local application or with Docker.
- Configuration
- Message Payload and Actions
- Running as App
- Running with Docker
- How to publish messages
- How to build the project
- Spring Boot - A framework that makes it easy to create stand-alone, production-grade Spring-based Applications
- Spring Kafka - Spring concepts for the development of Kafka-based messaging solutions
- OpenJDK - A free and open-source implementation of the Java Platform, Standard Edition
- Maven - For dependency management