/CSVFileAvroUploader

Kafka Producer that reads from a CSV file and produces the messages in Avro

Primary LanguageJavaApache License 2.0Apache-2.0

CSVFileAvroUploader

Kafka Producer that reads from a CSV file and produces the messages in Avro

The first line of the CSV file (the "header") will be used to determine the schema. Each field will take its name from the corresponding header entry with the type of "string".

Usage: io.confluent.bootcamp.CSVFileAvroUploader [-hV] -c= -f= [-k=] --topic=

Description:

Options:

  -c, --config-file=<configFile>
                        Kafka configuration file (required)
  -f, --input-file=<inputFile>
                        File from which to read (required)
      --topic=<topic>   Topic to write to (required)
  -k, --key-field=<keyField>
                        If provided, use this column as the key
  -h, --help            Show this help message and exit.
  -V, --version         Print version information and exit.

Set logging to "trace" to see every message being produced.