https://github.com/daggerok/java-mp-smallrye-kafka-example
Kafka messaging java example of SmallRye micro-profile and JBoss Weld CDI.using maven
https://github.com/daggerok/java-mp-smallrye-kafka-example
jakartaee javaee javaee8 kafka maven micro-profile microprofile microprofile-config microprofile-demo microprofile-example mp reactive-programming smallrye smallrye-reactive-streams
Last synced: 3 days ago
JSON representation
Kafka messaging java example of SmallRye micro-profile and JBoss Weld CDI.using maven
- Host: GitHub
- URL: https://github.com/daggerok/java-mp-smallrye-kafka-example
- Owner: daggerok
- Created: 2019-05-02T03:25:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-02T03:50:32.000Z (over 6 years ago)
- Last Synced: 2025-02-27T02:23:21.847Z (7 months ago)
- Topics: jakartaee, javaee, javaee8, kafka, maven, micro-profile, microprofile, microprofile-config, microprofile-demo, microprofile-example, mp, reactive-programming, smallrye, smallrye-reactive-streams
- Language: Java
- Size: 56.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kafka Smallrye MicrpProfile
Kafka messaging java example of SmallRye micro-profile using maven_this app requires kafka_
```bash
./run-local-kafka.sh
# or: ./run-kafka-in-docker.sh
```_build and run fatJar_
```bash
mvn clean package
java -jar target/*-all.jar
```_run using maven_
```bash
mvn clean compile exec:java -Dexec.mainClass=com.github.daggerok.App
# or
mvn clean compile exec:java -Dexec.mainClass=org.jboss.weld.environment.se.StartMain
```_for debugging purpose run App main class right from IDE in debug mode_
* [SmallRye Reactive Messaging: Interacting with Apache Kafka](https://smallrye.io/smallrye-reactive-messaging/#_interacting_with_apache_kafka)
* [GitHub: useful kafka tests / configs](https://github.com/smallrye/smallrye-reactive-messaging/blob/master/smallrye-reactive-messaging-kafka/src/test/java/io/smallrye/reactive/messaging/kafka/KafkaTestBase.java)