小编B.T*_*ong的帖子

错误:配置属性“security.protocol”的值“sasl_ssl”无效

我使用 node-rdkafka 通过以下选项连接到 IBM MessageHub:

var options = {
  // 'debug': 'all',
  'metadata.broker.list': brokers,
  'security.protocol': 'sasl_ssl',
  'ssl.ca.location': '/etc/ssl/certs',
  'sasl.mechanisms': 'PLAIN',
  'sasl.username': username,
  'sasl.password': password,
  'api.version.request': true,
  'broker.version.fallback': '0.10.2.1',
  'log.connection.close': false,
  'dr_msg_cb': true
}
Run Code Online (Sandbox Code Playgroud)

客户端在 IBM Kubernetes Service pod (Ubuntu) 上运行。
请指教。谢谢。

apache-kafka message-hub

4
推荐指数
1
解决办法
6510
查看次数

标签 统计

apache-kafka ×1

message-hub ×1