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<>(
|
||||
consumerConfig(),
|
||||
new StringDeserializer(),
|
||||
new JsonDeserializer<>()
|
||||
jsonDeserializer
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user