We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This docker file has worked for many months. Last week when I wanted to start working on it, the docker compose failed.
I got this error
Step1. Create a docker file
FROM golang:1.21.1-alpine3.18 AS builder WORKDIR /app COPY ./src/go.mod /app COPY ./src/go.sum /app RUN go mod download RUN apk update && apk upgrade && apk add --no-cache pkgconf git bash build-base sudo clang openssl openssl-dev cyrus-sasl-dev RUN git clone https://github.com/confluentinc/librdkafka.git && cd librdkafka && ./configure --prefix /usr --enable-sasl && make && make install RUN echo "openssl_conf = openssl_init" > /etc/ssl/openssl.cnf && echo "[openssl_init]" >> /etc/ssl/openssl.cnf && echo "cipher_suites = ECDHE-ECDSA-AES128-GCM-SHA256" >> /etc/ssl/openssl.cnf && echo "ssl_conf = ssl_init" >> /etc/ssl/openssl.cnf && echo "[ssl_init]" >> /etc/ssl/openssl.cnf && echo "security.protocol = SASL_SSL" >> /etc/ssl/openssl.cnf COPY ./src /app RUN go build -tags dynamic -o /docker-gs-ping . FROM alpine:3.18 AS runner WORKDIR / COPY --from=builder /usr/lib /usr/lib COPY --from=builder /usr/lib/sasl2 /usr/lib/sasl2 COPY --from=builder /docker-gs-ping /docker-gs-ping ENTRYPOINT ["/docker-gs-ping"]
Step2: Run docker-compose up --build
Please provide the following information:
LibraryVersion()
ConfigMap{...}
"debug": ".."
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out. It seems like rd_ts_t isn't a part of the publicly exposed types here, let me check this.
Sorry, something went wrong.
I would guess this is due to the merge of confluentinc/librdkafka#4422 .
Fixed by confluentinc/librdkafka#4458, please reopen if this continues to happen. Thanks for the report!
No branches or pull requests
Description
This docker file has worked for many months.
Last week when I wanted to start working on it, the docker compose failed.
I got this error
How to reproduce
Step1. Create a docker file
FROM golang:1.21.1-alpine3.18 AS builder
WORKDIR /app
COPY ./src/go.mod /app
COPY ./src/go.sum /app
RUN go mod download
RUN apk update && apk upgrade &&
apk add --no-cache pkgconf git bash build-base sudo clang openssl openssl-dev cyrus-sasl-dev
RUN git clone https://github.com/confluentinc/librdkafka.git && cd librdkafka && ./configure --prefix /usr --enable-sasl && make && make install
RUN echo "openssl_conf = openssl_init" > /etc/ssl/openssl.cnf
&& echo "[openssl_init]" >> /etc/ssl/openssl.cnf
&& echo "cipher_suites = ECDHE-ECDSA-AES128-GCM-SHA256" >> /etc/ssl/openssl.cnf
&& echo "ssl_conf = ssl_init" >> /etc/ssl/openssl.cnf
&& echo "[ssl_init]" >> /etc/ssl/openssl.cnf
&& echo "security.protocol = SASL_SSL" >> /etc/ssl/openssl.cnf
COPY ./src /app
RUN go build -tags dynamic -o /docker-gs-ping .
FROM alpine:3.18 AS runner
WORKDIR /
COPY --from=builder /usr/lib /usr/lib
COPY --from=builder /usr/lib/sasl2 /usr/lib/sasl2
COPY --from=builder /docker-gs-ping /docker-gs-ping
ENTRYPOINT ["/docker-gs-ping"]
Step2: Run docker-compose up --build
Checklist
Please provide the following information:
LibraryVersion()
): v2.2.0ConfigMap{...}
return kafka.ConfigMap{"bootstrap.servers": clusterUrl,
"sasl.mechanisms": "PLAIN",
"security.protocol": "SASL_SSL",
"sasl.username": clusterApiKey,
"sasl.password": clusterApiSecret,
"session.timeout.ms": 90_000,
"group.id": "example",
"auto.offset.reset": "smallest",
"heartbeat.interval.ms": 20_000,
}
"debug": ".."
as necessary)The text was updated successfully, but these errors were encountered: