Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuring kafka address using environment variable doesn't work #183

Open
oxeye-schmil opened this issue Dec 15, 2022 · 0 comments
Open

Comments

@oxeye-schmil
Copy link

I used the following configuration for kafka

management:
  port: 8000

services:
  - name: Kafka Mock Actors
    type: kafka
    address: "{{env 'KAFKA'}}"
    actors:
      - name: span
        produce:
          create: true
          queue: jaeger-spans
          value: "@/span1.json"

But when I triggered the produce I got the following error in logs

%3|1671090820.157|FAIL|rdkafka#producer-1| [thrd:{{env 'KAFKA'}}:9092/bootstrap]: {{env 'KAFKA'}}:9092/bootstrap: Failed to resolve '{{env 'KAFKA'}}:9092': Name or service not known (after 0ms in state CONNECT, 28 identical error(s) suppressed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant