简体   繁体   English

如何将 node.js 连接到 kerberos kafka 集群

[英]How to connect node.js to kerberos kafka cluster

I want to connect a Kerberos Kafka cluster using node.js.我想使用 node.js 连接 Kerberos Kafka 集群。 I researched some NPM packages those offer Kafka connectivity, but did not find anything specific to connect to the Kerberos Kafka cluster.我研究了一些提供 Kafka 连接的 NPM 包,但没有找到任何特定于连接到 Kerberos Kafka 集群的包。 if anyone has done this before, please provide some direction.如果有人以前这样做过,请提供一些指导。

node-rdkafka wraps librdkafka which supports SASL. node-rdkafka包装了支持 SASL 的 librdkafka。

This link shows how to configure librdkafka for Kerberos authentication: https://github.com/edenhill/librdkafka/wiki/Using-SASL-with-librdkafka此链接显示了如何为 Kerberos 身份验证配置 librdkafka: https : //github.com/edenhill/librdkafka/wiki/Using-SASL-with-librdkafka

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM