Have you tried the HDFS connector here? https://github.com/confluentinc/kafka-connect-hdfs Its master and 4.0.x branches contain export support for JSON in '.json' text files.
Konstantine. On Sat, Oct 28, 2017 at 11:51 PM, Alexander Atanasov < alexandaratana...@gmail.com> wrote: > Hello, > > I am trying to consume JSON messages and save it to HDFS and ingest it to > table in HIVE. > > I have no problems doing that with AVRO files but I have troubles with > JSON. > > Is there any way to add schema to the JSON in the consumer or consume it > without schema? > Also I can do it with spark but I was looking for solution without using > it. > > Thank you very much for your time, > Aleksandar Atanasov >