use jsonDeserializer object instead of new one.
This commit is contained in:
parent
f9b16c4101
commit
300212d781
@ -37,7 +37,7 @@ public class KafkaConsumerConfig {
|
|||||||
return new DefaultKafkaConsumerFactory<>(
|
return new DefaultKafkaConsumerFactory<>(
|
||||||
consumerConfig(),
|
consumerConfig(),
|
||||||
new StringDeserializer(),
|
new StringDeserializer(),
|
||||||
new JsonDeserializer<>()
|
jsonDeserializer
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user