Blizzard / node-rdkafka

Node.js bindings for librdkafka
MIT License
2.08k stars 391 forks source link

OpenSSL not available at build time #1050

Open amananurag opened 8 months ago

amananurag commented 8 months ago

I am getting below error

Unsupported value "SASL_SSL" for configuration property "security.protocol": OpenSSL not available at build time

when I log kefka.features , I do not see ssl [ 'gzip', 'snappy', 'sasl', 'regex', 'lz4', 'sasl_gssapi', 'sasl_plain', 'plugins', 'http' ]

this is the ssl config I have

OpenSSL 3.1.4 24 Oct 2023 (Library: OpenSSL 3.1.4 24 Oct 2023) built on: Tue Oct 24 13:41:51 2023 UTC platform: darwin64-arm64-cc options: bn(64,64) compiler: clang -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DNDEBUG OPENSSLDIR: "/opt/homebrew/etc/openssl@3" ENGINESDIR: "/opt/homebrew/Cellar/openssl@3/3.1.4/lib/engines-3" MODULESDIR: "/opt/homebrew/Cellar/openssl@3/3.1.4/lib/ossl-modules" Seeding source: os-specific CPUINFO: OPENSSL_armcap=0x187d

robertlight commented 7 months ago

use openssl-dev