Blizzard / Blizzard/node-rdkafka
"Segmentation fault" error when connecting kafka client with aws ec2 and msk
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am developing a consumer and producer client for Kafka in an EC2 instance and using AWS MSK as a cluster service, with SASL/SCRAM authentication, however with the node-rdkafka library, still entering the corresponding parameters in the file. properties, it gives me the error message "Segmentation fault", looking for information I found that it could be the version of openssl used by Node and the one I have installed on my EC2 instance, but I'm not sure, they will know where the problem could be for research? Here is some useful information:
- Console error message:
KafkaClientEC2Instance2 [ec2-user@ip-10-159-62-88 nodeKafkaSasl$ npm run dev:producer
> nodekafkasasl@1.0.0 dev:producer
> node src/producer.js client.properties
Segmentation fault
- Configuration of the "client.properties" file:
bootstrap.servers=[urlHost]:9096,[urlHost]:9096
sasl.username=user
sasl.password=usertest
security.protocol=SASL_SSL
sasl.mechanisms=SCRAM-SHA-512
- openSSL versions:
Node: 1.1.1q+quic
openSSL on EC2 instance: 1.0.2k-fips
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.