Skip to content

Commit

Permalink
Add schema registry env var.
Browse files Browse the repository at this point in the history
  • Loading branch information
dspeck1 committed Dec 4, 2024
1 parent 7c1a9f3 commit 17dc30e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ async def main() -> None:

# Keda environment variables
prompt_processing_kafka_cluster = os.environ["PROMPT_PROCESSING_KAFKA_CLUSTER"]
fan_out_schema_registry_url = os.environ["FAN_OUT_SCHEMA_REGISTRY_URL"]
fan_out_comcamsim_topic = os.environ["FAN_OUT_COMCAMSIM_TOPIC"]
fan_out_comcam_topic = os.environ["FAN_OUT_COMCAM_TOPIC"]
fan_out_hsc_topic = os.environ["FAN_OUT_HSC_TOPIC"]
Expand Down Expand Up @@ -253,7 +254,7 @@ async def main() -> None:

# Setup registry API
fan_out_registry_api = RegistryApi(
http_client=client, url="http://10.104.75.248:8081"
http_client=client, url=fan_out_schema_registry_url
)
fan_out_serializer= await Serializer.register(
registry=fan_out_registry_api,
Expand Down

0 comments on commit 17dc30e

Please sign in to comment.