Created
September 11, 2016 15:26
-
-
Save andrewstevenson/47d1510deffc870e73f02675f788f606 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