Skip to content

Commit

Permalink
Kafka 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
engapa committed Mar 14, 2020
1 parent 2499aea commit 3a85886
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MAINTAINER Enrique Garcia <[email protected]>
ARG KAFKA_HOME=/opt/kafka
ARG KAFKA_USER=kafka
ARG KAFKA_GROUP=kafka
ARG KAFKA_VERSION="2.4.0"
ARG KAFKA_VERSION="2.4.1"
ARG SCALA_VERSION="2.12"

ENV KAFKA_HOME=${KAFKA_HOME} \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DOCKER_ORG ?= engapa
DOCKER_IMAGE ?= kafka

SCALA_VERSION ?= 2.12
KAFKA_VERSION ?= 2.4.0
KAFKA_VERSION ?= 2.4.1


.PHONY: help
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To get your own image:
```bash
$ export KAFKA_HOME="/opt/kafka"
$ export SCALA_VERSION="2.12"
$ export KAFKA_VERSION="2.4.0"
$ export KAFKA_VERSION="2.4.1"
$ docker build --build-arg SCALA_VERSION=$SCALA_VERSION --build-arg KAFKA_VERSION=$KAFKA_VERSION --build-arg KAFKA_HOME=$KAFKA_HOME \
-t your-org/kafka:${SCALA_VERSION}-${KAFKA_VERSION} .
```
Expand Down
2 changes: 1 addition & 1 deletion k8s/kafka-persistent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
containers:
- name: kafka
imagePullPolicy: IfNotPresent
image: engapa/kafka:2.12-2.4.0
image: engapa/kafka:2.12-2.4.1
resources:
requests:
memory: 512M
Expand Down
2 changes: 1 addition & 1 deletion k8s/kafka-zk-persistent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
containers:
- name: kafka
imagePullPolicy: IfNotPresent
image: engapa/kafka:2.12-2.4.0
image: engapa/kafka:2.12-2.4.1
resources:
requests:
memory: 1024M
Expand Down
2 changes: 1 addition & 1 deletion k8s/kafka-zk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
containers:
- name: kafka
imagePullPolicy: IfNotPresent
image: engapa/kafka:2.12-2.4.0
image: engapa/kafka:2.12-2.4.1
resources:
requests:
memory: 512M
Expand Down
6 changes: 3 additions & 3 deletions openshift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ To build and save a docker image of kafka in your private Openshift registry jus

```bash
$ oc create -f buildconfig.yaml
$ oc new-app kafka-builder -p GITHUB_REF="v2.12-2.4.0" -p IMAGE_STREAM_VERSION="2.12-2.3.0"
$ oc new-app kafka-builder -p GITHUB_REF="v2.12-2.4.1" -p IMAGE_STREAM_VERSION="2.12-2.3.0"
```
If you want to get an image from another git commit:

Expand All @@ -93,10 +93,10 @@ $ oc start-build kafka-builder --commit=master
```bash
$ oc get is -l component=zk [-n project]
NAME DOCKER REPO TAGS UPDATED
kafka 172.30.1.1:5000/test/kafka 2.12-2.4.0 1 days ago
kafka 172.30.1.1:5000/test/kafka 2.12-2.4.1 1 days ago
```

**NOTE**: If you want to use this local/private image from containers on other projects then use the "\<project\>/NAME" value as `SOURCE_IMAGE` parameter value, and use one value of "TAGS" as `KAFKA_VERSION` parameter value (e.g: test/kafka:2.12-2.4.0).
**NOTE**: If you want to use this local/private image from containers on other projects then use the "\<project\>/NAME" value as `SOURCE_IMAGE` parameter value, and use one value of "TAGS" as `KAFKA_VERSION` parameter value (e.g: test/kafka:2.12-2.4.1).

## Topologies

Expand Down
2 changes: 1 addition & 1 deletion openshift/kafka-persistent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parameters:
- name: KAFKA_VERSION
description: Kafka Version (Scala and kafka version).
required: true
value: "2.12-2.4.0"
value: "2.12-2.4.1"
- name: SOURCE_IMAGE
description: Container image source.
value: kafka
Expand Down
2 changes: 1 addition & 1 deletion openshift/kafka-zk-persistent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parameters:
- name: KAFKA_VERSION
description: Kafka Version (Scala and kafka version).
required: true
value: "2.12-2.4.0"
value: "2.12-2.4.1"
- name: SOURCE_IMAGE
description: Container image source.
value: kafka
Expand Down
2 changes: 1 addition & 1 deletion openshift/kafka-zk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parameters:
- name: KAFKA_VERSION
description: Kafka Version (Scala and kafka version).
required: true
value: "2.12-2.4.0"
value: "2.12-2.4.1"
- name: SOURCE_IMAGE
description: Container image source.
value: kafka
Expand Down
4 changes: 2 additions & 2 deletions openshift/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
set -e

SCALA_VERSION=${SCALA_VERSION:-"2.12"}
KAFKA_VERSION=${KAFKA_VERSION:-"2.4.0"}
KAFKA_VERSION=${KAFKA_VERSION:-"2.4.1"}
KAFKA_IMAGE=${KAFKA_IMAGE:-"engapa/kafka:${SCALA_VERSION}-${KAFKA_VERSION}"}
ZOO_VERSION='3.5.7'
ZOO_VERSION='3.6.0'
ZK_IMAGE="engapa/zookeeper:${ZOO_VERSION}"

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
Expand Down

0 comments on commit 3a85886

Please sign in to comment.