"Segmentation fault" error when connecting kafka client with aws ec2 and msk
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 <nameFile> 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
[email protected] 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
Got same combintion but different problem ,similar settings of
security.protocol=SASL_SSL
sasl.mechanisms=SCRAM-SHA-512
Broker did not provide a certificate
already installed ca-certificates
i have the same probleme