Skip to content

1. Connection Fields

Pulsar connection configuration is located at:

  • config.connection
FieldTypeDescription
serviceUrlstringpulsar://host:6650 or pulsar+ssl://host:6651
authobjectAuth configuration (none/token)

2. Authentication (Token)

json
{
  "auth": {
    "mode": "token",
    "token": "YOUR_TOKEN"
  }
}

WARNING

Token is sensitive information. Recommend injecting via config management/secret management, do not write into public config repository.


3. TLS (pulsar+ssl://)

When serviceUrl uses pulsar+ssl://, specific TLS certificate trust chain behavior is decided by Pulsar client and deployment method. If you run gateway in container, please ensure:

  • Runtime environment can access correct CA (or system trust)
  • DNS/hostname matches certificate SAN

4. Common Issues

  • serviceUrl wrong (Protocol/Port mismatch)
  • Token no permission (Tenant/Namespace/Topic permission insufficient)
  • Using pulsar+ssl:// but certificate chain untrusted (Handshake failure)

Released under the Apache License 2.0.