How to configure kafka url in openmeter? #3379
-
I checked the docker compose and I see that all services are configured to listen on localhost. This works when openmeter by default assumes that they are on localhost, but what about when openmeter is inside the dockercompose and needs to bootstrap with kafka at "kafka" hostname instead? I haven't found any documentation abour how to configure this. Does anyone know?
What do I need to set in the environment to make this work? I have tried all kinds of options that could make sense:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The correct env var for broker is The full list of config options is available here: openmeter/app/config/ingest.go Lines 61 to 85 in cde8a86 |
Beta Was this translation helpful? Give feedback.
-
That worked, but |
Beta Was this translation helpful? Give feedback.
The correct env var for broker is
INGEST_KAFKA_BROKER
(but we might change it toKAFKA_BROKER
pretty soon, as the INGEST_ prefix is due to kafka being only used for ingested events in some of the early versions).The full list of config options is available here:
openmeter/app/config/ingest.go
Lines 61 to 85 in cde8a86