Beispiel: Schema erzeugen und abfragen
[demos/kafka/training] / README.sh
index 9eb16c4..4dd2854 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -32,3 +32,6 @@ echo
 docker-compose -f docker/docker-compose.yml exec cli kafkacat -C -b kafka:9092 -t test -o beginning -e
 
 kafkacat -L -b :9092 -Xsecurity.protocol=sasl_plaintext -Xsasl.mechanisms=PLAIN -Xsasl.username=client -Xsasl.password=client-secret
+
+cat user-v1.schema|http POST http://localhost:8085/subjects/user/versions "Content-Type:application/vnd.schemaregistry.v1+json"
+http GET http://0:8085/subjects/user/versions/1/schema