mirror of https://github.com/apache/kafka.git
KAFKA-2121 Follow-up: minor bug fix as pointed out by Sean Lydon
This commit is contained in:
parent
dbfe8c0a7d
commit
97358411af
|
@ -495,7 +495,7 @@ public class KafkaConsumer<K, V> implements Consumer<K, V> {
|
|||
if (keyDeserializer == null) {
|
||||
this.keyDeserializer = config.getConfiguredInstance(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG,
|
||||
Deserializer.class);
|
||||
this.keyDeserializer.configure(config.originals(), false);
|
||||
this.keyDeserializer.configure(config.originals(), true);
|
||||
} else {
|
||||
this.keyDeserializer = keyDeserializer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue