Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fhussonnois/aiven-kafka-micronaut-iot-demo
Using Aiven Kafka with Micronaut Framework
https://github.com/fhussonnois/aiven-kafka-micronaut-iot-demo
aiven kafka kafka-producer micronaut
Last synced: about 2 months ago
JSON representation
Using Aiven Kafka with Micronaut Framework
- Host: GitHub
- URL: https://github.com/fhussonnois/aiven-kafka-micronaut-iot-demo
- Owner: fhussonnois
- License: apache-2.0
- Created: 2023-06-12T21:35:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-14T07:37:10.000Z (over 1 year ago)
- Last Synced: 2024-10-28T20:49:55.047Z (3 months ago)
- Topics: aiven, kafka, kafka-producer, micronaut
- Language: Java
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aiven Kafka Quickstart with Micronaut 🦀
![Java CI with Maven](https://github.com/fhussonnois/aiven-kafka-micronaut-iot-demo/actions/workflows/maven-build.yml/badge.svg)
![CodeQL](https://github.com/fhussonnois/aiven-kafka-micronaut-iot-demo/actions/workflows/codeql.yml/badge.svg)## Introduction
Check [this blog](./docs/README.md) post to lean more about this project and how to use it with Aiven.
## Development
### Prerequisite
This project is built with:
* JDK 17
* [Micronaut](https://micronaut.io/)
* Apache Kafka cluster### Build
To build:
```bash
./mwn clean verify
```### Test
To run tests with Maven:
```bash
./mwn clean test
```### Run
To run the application, use the below command, which starts the application on port `8080`.
```bash
./mvnw -f ./micronaut-device-energy-sender/pom.xml mn:run
```## Licence
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.See the NOTICE file distributed with this work for additional information regarding copyright ownership.The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License