Skip to content

Commit

Permalink
Configure Kafka value serializer correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ozangunalp committed Nov 26, 2021
1 parent a781607 commit 8dc6220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public ReactiveKafkaProducer(Map<String, Object> kafkaConfiguration, String chan

// Configure the underlying serializers
keySerializer.configure(kafkaConfiguration, true);
valueSerializer.configure(kafkaConfiguration, true);
valueSerializer.configure(kafkaConfiguration, false);

kafkaWorker = Executors.newSingleThreadExecutor(KafkaSendingThread::new);
producer = new KafkaProducer<>(kafkaConfiguration, keySerializer, valueSerializer);
Expand Down

0 comments on commit 8dc6220

Please sign in to comment.