Support Questions

Find answers, ask questions, and share your expertise

I use HDP 2.6.3 with Kafka and Storm. When i try to upload a topology the warning below is appeared. I use kafka client, storm client and so on with minor versions 2.6.3 (the same as the cluster versions).

avatar
New Contributor

2018-01-12 15:12:30.429 o.a.k.c.p.ProducerConfig [WARN] The configuration 'key.deserializer' was supplied but isn't a known config.

2018-01-12 15:12:30.429 o.a.k.c.p.ProducerConfig [WARN] The configuration 'value.deserializer' was supplied but isn't a known config.

2018-01-12 15:12:30.429 o.a.k.c.p.ProducerConfig [WARN] The configuration 'sasl.jaas.config' was supplied but isn't a known config.

2018-01-12 15:12:30.430 o.a.k.c.p.ProducerConfig [WARN] The configuration 'serializer.class' was supplied but isn't a known config.

kafkaProperties.put("key.deserializer", "org.apache.kafka.common.serialization.StringDeserializer");

kafkaProperties.put("value.deserializer", "org.apache.kafka.common.serialization.ByteArrayDeserializer");

kafkaProperties.put("serializer.class", DefaultEncoder.class.getName());

1 ACCEPTED SOLUTION

avatar
@Ivan Mladenov

Looks like you are using the consumer properties in producer and hence kafka is ignoring.

Refer : https://kafka.apache.org/0100/documentation.html for all valid configs for the version you are using.

View solution in original post

1 REPLY 1

avatar
@Ivan Mladenov

Looks like you are using the consumer properties in producer and hence kafka is ignoring.

Refer : https://kafka.apache.org/0100/documentation.html for all valid configs for the version you are using.