Skip to content

Instantly share code, notes, and snippets.

@nuria
Created January 14, 2022 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuria/43addaaca3891a13023df40763fce65f to your computer and use it in GitHub Desktop.
Save nuria/43addaaca3891a13023df40763fce65f to your computer and use it in GitHub Desktop.
Produce to kafka rest proxy with jsonschema type
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