Created
January 14, 2022 06:29
-
-
Save nuria/43addaaca3891a13023df40763fce65f to your computer and use it in GitHub Desktop.
Produce to kafka rest proxy with jsonschema type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H "Content-Type: application/vnd.kafka.jsonschema.v2+json" \ | |
-H "Accept: application/vnd.kafka.v2+json" \ | |
--data '{"value_schema_id":100101, "records": [{"value": {"name": "testUser", "planet":"moon"} } ] }' \ | |
"http://localhost:8082/topics/rest-proxy-test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment