Skip to content

Commit

Permalink
fix(ingestion): set schema registry URL correctly for FMCE producer (#…
Browse files Browse the repository at this point in the history
…1839)

Fixes #1829
  • Loading branch information
mars-lan authored Aug 31, 2020
1 parent 85a6cd1 commit f4bccaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public KafkaTemplate<String, GenericRecord> kafkaTemplate(KafkaProperties proper
props.put(AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG, kafkaSchemaRegistryUrl);

KafkaTemplate<String, GenericRecord> template =
new KafkaTemplate<>(new DefaultKafkaProducerFactory<>(properties.buildProducerProperties()));
new KafkaTemplate<>(new DefaultKafkaProducerFactory<>(props));

log.info("KafkaTemplate built successfully");

Expand Down

0 comments on commit f4bccaf

Please sign in to comment.