Could not resolve type id 'kafka' into a subtype of [simple type, class org.apache.druid.indexing.overlord.sampler.SamplerSpec]

Hello:

I was trying to connect Druid as consumer in Kafka. I already sent some sample json data from producer to Kafka by using Conduktor(I use the wikipedia sample data from Druid tutorial).

But when I use the Druid Load Data page and choose Kafka, config the bootstrap server as localhost:9092 and name as my topic name, I always ended up with error said:

“Could not resolve type id ‘kafka’ into a subtype of [simple type, class org.apache.druid.indexing.overlord.sampler.SamplerSpec].”

I’m very confused… what should I do to get rid of this error? Should I submit a Supervisor first?

Thank you very much!

Julie

Btw, I’m sending Avro type in Kafka and I already have the “druid-avro-extensions” in conf/druid/single-server/micro-quickstart/_common/common.runtime.properties

Can you send over your supervisor spec?