Skip to content

Commit

Permalink
Merge pull request #1532 from ozangunalp/fix_kafka_serializer_configure
Browse files Browse the repository at this point in the history
Configure Kafka value serializer correctly
  • Loading branch information
ozangunalp authored Nov 26, 2021
2 parents a781607 + 8dc6220 commit e4247ad
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 e4247ad

Please sign in to comment.