MrMoronIV opened a new issue #8704: Error: HTML Error: 
java.lang.IllegalArgumentException: Instantiation of [simple type, class 
org.apache.druid.data.input.AvroStreamInputRowParser] value failed: 
avroBytesDecoder
URL: https://github.com/apache/incubator-druid/issues/8704
 
 
   I'm trying to read Divolte Avro messages, but I can't seem to get passed 
this error:
   
   ```
   Error: HTML Error: java.lang.IllegalArgumentException: Instantiation of 
[simple type, class org.apache.druid.data.input.AvroStreamInputRowParser] value 
failed: avroBytesDecoder
   ```
   
   No matter what I put into my spec file schema wise, it keeps hitting me back 
with that error. Below is a very small spec file, but still I get this error. 
I'm using the Druid UI to setup the datasource. Even without any fields, I get 
this error when clicking on the [Parse Data] button.
   
   ```
   {
     "type": "kafka",
     "dataSchema": {
       "dataSource": "click_stream",
       "parser": {
         "type": "avro_stream",
         "avroBytesDecoder": {
           "type": "schema_inline",
           "schema": {
             "namespace": "org.apache.druid.data",
             "name": "User",
             "type": "record",
             "fields": [
               {
                 "name": "FullName",
                 "type": "string"
               },
               {
                 "name": "Country",
                 "type": "string"
               }
             ]
           }
         },
         "parseSpec": {
           "format": "avro",
           "timestampSpec": {
             "column": "timestamp",
             "format": "auto"
           }
         }
       }
     },
     "ioConfig": {
       "topic": "click_stream",
       "consumerProperties": {
        // this works, messages are collected
       },
       "taskCount": 1,
       "replicas": 1,
       "taskDuration": "PT5M",
       "type": "kafka"
     },
     "tuningConfig": {
       "type": "kafka"
     }
   }```
   
   ### Affected Version
   0.16 (latest as of now, nano-quickstart)
   I've enabled the avro extension in the properties file.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to