Hello All!
We have been using confluent cloud for almost 2 years. Recently we start getting the following error on preview environment and on local environment (only for some devs)
Kafka Consumer Error:Error: ssl error
while staging and production is running smoothly
following our my different config files
- dockerfile
FROM node:14-alpine
RUN apk --no-cache add \
bash \
g++ \
ca-certificates \
lz4-dev \
musl-dev \
cyrus-sasl-dev \
openssl-dev \
make \
python3
RUN apk add --no-cache --virtual .build-deps gcc zlib-dev libc-dev bsd-compat-headers py-setuptools
WORKDIR /usr/app
COPY package.json .
RUN yarn install
COPY . .
- using consumer and producer as follow in my js files
’
client.id': client,
'bootstrap.servers': process.env.KAFKA_HOST,
'sasl.username': process.env.KAFKA_USER_NAME,
'sasl.password': process.env.KAFKA_PASSWORD,
'security.protocol': 'SASL_SSL',
'sasl.mechanisms': 'PLAIN',
'group.id': group,
and my package.json file contain the following package:
"node-rdkafka": "^2.10.1"
Thanks in advance!