Blizzard / Blizzard/node-rdkafka

Docker Alpine + Kerberos

Open
#980 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

I am using this Docker file

```
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 bash
ENV KRB5_CONFIG=/usr/local/app/kafkaFiles/svc-bd-nodatomb-dev/krb5.conf
# Create app directory
RUN mkdir -p /usr/local/app

# Move to the app directory
WORKDIR /usr/local/app

COPY . /usr/local/app

RUN npm install
CMD [ "node", "index.js" ]
```

I am getting this issue
Cyrus/libsasl2 is missing a GSSAPI module: make sure the libsasl2-modules-gssapi-mit or cyrus-sasl-gssapi packages are installed .

Contributor guide

Open the contributing guide

Research direction

Start with the Dockerfile in the issue and the reported Cyrus/libsasl2 GSSAPI error. Check how the Alpine package list affects Kerberos support and reproduce the container build or startup path; done means the node-rdkafka application can use the configured Kerberos setup without the missing-module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kafka, nodejs
Domain
authentication, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.