I am using spark for get data from a topic kafka. I must deserialaizer avro data with KafkaAvroDeserialaizer. I config kafka consumer so:
kafkaParams.put("bootstrap.servers", "10.0.4.215:9092");
kafkaParams.put("key.deserializer", io.confluent.kafka.serializers.KafkaAvroDeserializer.class);
kafkaParams.put("value.deserializer",io.confluent.kafka.serializers.KafkaAvroDeserializer.class);
// kafkaParams.put("key.convert", com.datamountaineer.streamreactor.connect.converters.source.JsonSimpleConverter.class);
//kafkaParams.put("value.convert",com.datamountaineer.streamreactor.connect.converters.source.JsonSimpleConverter.class);
kafkaParams.put("group.id", "use_a_separate_group_id_for_each_stream");
kafkaParams.put("auto.offset.reset", "earliest");
kafkaParams.put("enable.auto.commit", false);
But when i execute the code i have this exception Exception in thread
"streaming-start" java.lang.NoClassDefFoundError: io/confluent/common/config/ConfigException
Can someone tell me where i can find this class def? For example maven dependency ext.
