HI Vibhor, 
Drill doesn't currently support reading Avro messages from Kafka.  However 
Drill DOES support reading Avro files.  It looks as if the Kafka plugin was 
designed to accept Avro but nobody ever added the Avro reader.  It would not be 
terribly difficult to use Drill's existing Avro reader to create an Avro 
message reader for Drill/Kafka.  Take a look here:

https://github.com/apache/drill/blob/master/contrib/storage-kafka/src/main/java/org/apache/drill/exec/store/kafka/decoders/JsonMessageReader.java

All you would have to do is implement one for Avro using Drill's existing Avro 
parser.  If you need help, let me know.
Best,
-- C


 

> On Feb 9, 2021, at 8:21 PM, Jaiswal, Vibhor <[email protected]> 
> wrote:
> 
> am able to connect to topic and do a count query . But when I do a select on 
> topic it gives error .
>  

Reply via email to