Skip to content

Commit 71d0761

Browse files
committed
Support produce version 10, #171
1 parent d7bec2f commit 71d0761

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ VERSION ?= $(shell git describe --tags --always --dirty)
1010
GOPKGS = $(shell go list ./... | grep -v /vendor/)
1111
BUILD_FLAGS ?=
1212
LDFLAGS ?= -X github.com/grepplabs/kafka-proxy/config.Version=$(VERSION) -w -s
13-
TAG ?= "v0.3.10"
13+
TAG ?= "v0.3.11"
1414
GOOS ?= $(if $(TARGETOS),$(TARGETOS),linux)
1515
GOARCH ?= $(if $(TARGETARCH),$(TARGETARCH),amd64)
1616
GOARM ?= $(TARGETVARIANT)

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ As not every Kafka release adds new messages/versions which are relevant to the
3939
| | from 0.11.0 |
4040
| 0.2.9 | to 2.8.0 |
4141
| 0.3.1 | to 3.4.0 |
42-
| 0.3.9 | to 3.7.0 |
42+
| 0.3.11 | to 3.7.0 |
4343

4444
### Install binary release
4545

4646
1. Download the latest release
4747

4848
Linux
4949

50-
curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.3.10/kafka-proxy-v0.3.10-linux-amd64.tar.gz | tar xz
50+
curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.3.11/kafka-proxy-v0.3.11-linux-amd64.tar.gz | tar xz
5151

5252
macOS
5353

54-
curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.3.10/kafka-proxy-v0.3.10-darwin-amd64.tar.gz | tar xz
54+
curl -Ls https://github.com/grepplabs/kafka-proxy/releases/download/v0.3.11/kafka-proxy-v0.3.11-darwin-amd64.tar.gz | tar xz
5555

5656
2. Move the binary in to your PATH.
5757

@@ -69,7 +69,7 @@ Docker images are available on [Docker Hub](https://hub.docker.com/r/grepplabs/k
6969
7070
You can launch a kafka-proxy container for trying it out with
7171
72-
docker run --rm -p 30001-30003:30001-30003 grepplabs/kafka-proxy:0.3.8 \
72+
docker run --rm -p 30001-30003:30001-30003 grepplabs/kafka-proxy:0.3.11 \
7373
server \
7474
--bootstrap-server-mapping "localhost:19092,0.0.0.0:30001" \
7575
--bootstrap-server-mapping "localhost:29092,0.0.0.0:30002" \
@@ -88,7 +88,7 @@ Docker images with precompiled plugins located in `/opt/kafka-proxy/bin/` are ta
8888
8989
You can launch a kafka-proxy container with auth-ldap plugin for trying it out with
9090
91-
docker run --rm -p 30001-30003:30001-30003 grepplabs/kafka-proxy:0.3.8-all \
91+
docker run --rm -p 30001-30003:30001-30003 grepplabs/kafka-proxy:0.3.11-all \
9292
server \
9393
--bootstrap-server-mapping "localhost:19092,0.0.0.0:30001" \
9494
--bootstrap-server-mapping "localhost:29092,0.0.0.0:30002" \

proxy/processor_default.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func (handler *DefaultRequestHandler) mustReply(requestKeyVersion *protocol.Requ
159159
return false, nil, err
160160
}
161161

162-
case 3, 4, 5, 6, 7, 8, 9:
162+
case 3, 4, 5, 6, 7, 8, 9, 10:
163163
// CorrelationID + ClientID
164164
if err = acksReader.ReadAndDiscardHeaderV1Part(reader); err != nil {
165165
return false, nil, err

0 commit comments

Comments
 (0)