mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-09 07:53:33 +00:00
fix(ingestion): set schema registry URL correctly for FMCE producer (#1839)
Fixes https://github.com/linkedin/datahub/issues/1829
This commit is contained in:
parent
85a6cd1698
commit
f4bccaf052
@ -74,7 +74,7 @@ public class KafkaConfig {
|
|||||||
props.put(AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG, kafkaSchemaRegistryUrl);
|
props.put(AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG, kafkaSchemaRegistryUrl);
|
||||||
|
|
||||||
KafkaTemplate<String, GenericRecord> template =
|
KafkaTemplate<String, GenericRecord> template =
|
||||||
new KafkaTemplate<>(new DefaultKafkaProducerFactory<>(properties.buildProducerProperties()));
|
new KafkaTemplate<>(new DefaultKafkaProducerFactory<>(props));
|
||||||
|
|
||||||
log.info("KafkaTemplate built successfully");
|
log.info("KafkaTemplate built successfully");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user