Table of content
Spring Boot, spring-kafka and Confluent Schema Registry integration example
link:kafka.json[role=include]
filename
./mvnw clean install -DskipTests=true
cf create-user-provided-service cp -p kafka.json
cf push --no-start
cf bind-service spring-kafka-avro cp
cf start spring-kafka-avro
test
curl -X POST -d 'name=vik&age=33' spring-kafka-avro-sleepy-dugong.apps.sanaa.cf-app.com/user/publish
kafka-avro-console-consumer --bootstrap-server kafka.supergloo.com:9092 --consumer.config kafka.properties --topic users --from-beginning --property schema.registry.url=http://schemaregistry.supergloo.com:8081