Skip to content

Question: Advertised Address is not advertised back to Client #203

Open
@clavinjune

Description

@clavinjune

I am using Kafka Proxy to proxying 3 nodes of kraft for jaeger collector

here's my configuration:

- --bootstrap-server-mapping=kraft-0.ns.svc.cluster.local:9092,0.0.0.0:30001,foo.com:30001
- --bootstrap-server-mapping=kraft-1.ns.svc.cluster.local:9092,0.0.0.0:30002,foo.com:30002
- --bootstrap-server-mapping=kraft-2.ns.svc.cluster.local:9092,0.0.0.0:30003,foo.com:30003

the kafka producer URL used by my jaeger collector is foo.com:30001,foo.com:30002,foo.com:30003

when the jaeger collector is connected to the proxy, it returns

"dial tcp 0.0.0.0:39081: connect: connection refused"

If I used kcat to check the topic

kcat -b kafka-proxy.ns.svc.cluster.local:30001 -L
Metadata for all topics (from broker -1: kafka-proxy.ns.svc.cluster.local:30001/bootstrap):
 3 brokers:
  broker 0 at 0.0.0.0:46723 (controller)
  broker 1 at 0.0.0.0:39081
  broker 2 at 0.0.0.0:37183

it seems the adv addressed (foo.com) is not advertised back

any wrong configuration that I did? thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions