Created
July 21, 2016 12:14
-
-
Save andrewstevenson/311fdfd743f3d0a8bb79c0d6b2643947 to your computer and use it in GitHub Desktop.
This file contains 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
./bin/kafka-avro-console-producer \ | |
--broker-list localhost:9092 --topic nasty \ | |
--property value.schema='{"type":"record","name":"example.nasty","fields":[{"name":"elements","type":{"type":"array","items":{"type":"record","name":"example.nasty.element","fields":[{"name":"value","type":"string"},{"name":"children","type":{"type":"array","items":"example.nasty.element"}}]}}}]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment