Skip to content

Quarkus application using Kafka, Avro and the Apicurio schema registry

Notifications You must be signed in to change notification settings

cescoffier/quarkus-kafka-and-avro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Quarkus, Kafka and Avro

Prerequisites

docker-compose up -d

NOTE: stop the infrastructure with: docker-compose down; docker-compose rm

Build and Run

mvn compile quarkus:dev

To build the native executable:

mvn package -Pnative

Demo

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"title":"The Shawshank Redemption","year":1994}' \
  http://localhost:8080/movies

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"title":"The Godfather","year":1972}' \
  http://localhost:8080/movies

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"title":"The Dark Knight","year":2008}' \
  http://localhost:8080/movies  

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"title":"12 Angry Men","year":1957}' \
  http://localhost:8080/movies    

About

Quarkus application using Kafka, Avro and the Apicurio schema registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages