Skip to content

Commit

Permalink
upgrade to CP 7.8.1 (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
hifly81 authored Feb 20, 2025
1 parent 288381b commit c64ad8c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ MONITORING_STACK=datadog
3. Clone `cp-demo` and checkout a branch.

```bash
# Example with CP-DEMO 7.7.1 version
CP_DEMO_VERSION=7.7.1-post
# Example with CP-DEMO 7.8.1 version
CP_DEMO_VERSION=7.8.1-post

[[ -d "cp-demo" ]] || git clone https://github.com/confluentinc/cp-demo.git
(cd cp-demo && git fetch && git checkout $CP_DEMO_VERSION && git pull)
Expand Down Expand Up @@ -151,7 +151,7 @@ For an example that showcases how to monitor Apache Kafka client applications, a
Dev-toolkit is an environment that allows you to easily create different configurations and deployments to verify the metrics exposed by different components of the Confluent Platform.

Dev-toolkit is based on:
- Confluent Platform _(current 7.8.0)_
- Confluent Platform _(current 7.8.1)_
- Prometheus and Grafana stack.
- JMX Exporter 1.1.0

Expand Down
2 changes: 1 addition & 1 deletion dev-toolkit/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLT_TAG=7.8.0
CFLT_TAG=7.8.1
PROM_TAG=v3.0.0
GRAFANA_TAG=10.2.0
JR_TAG=latest
1 change: 0 additions & 1 deletion dev-toolkit/docker-compose.connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ services:
- |
echo "Installing Connector"
confluent-hub install --no-prompt confluentinc/kafka-connect-datagen:0.6.6
confluent-hub install --no-prompt confluentinc/kafka-connect-replicator:7.8.0
cp /usr/share/java/kafka-connect-replicator/replicator-rest-extension-*.jar /etc/kafka-connect/jars/
#
echo "Launching Kafka Connect worker"
Expand Down
2 changes: 1 addition & 1 deletion dev-toolkit/docker-compose.replicator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- -c
- |
echo "Installing Connector"
confluent-hub install --no-prompt confluentinc/kafka-connect-replicator:7.8.0
confluent-hub install --no-prompt confluentinc/kafka-connect-replicator:7.8.1
cp /usr/share/java/kafka-connect-replicator/replicator-rest-extension-*.jar /etc/kafka-connect/jars/
#
echo "Launching Kafka Connect worker"
Expand Down
4 changes: 2 additions & 2 deletions jmxexporter-prometheus-grafana/cfk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM confluentinc/cp-server:7.8.0
FROM confluentinc/cp-server:7.8.1
USER root
RUN rm -f /usr/share/java/cp-base-new/jmx_prometheus_javaagent*
COPY jmx_prometheus_javaagent-1.1.0.jar /usr/share/java/cp-base-new/
RUN chown --reference=/usr/share/java/cp-base-new/disk-usage-agent-7.8.0.jar /usr/share/java/cp-base-new/jmx_prometheus_javaagent-1.1.0.jar
RUN chown --reference=/usr/share/java/cp-base-new/disk-usage-agent-7.8.1.jar /usr/share/java/cp-base-new/jmx_prometheus_javaagent-1.1.0.jar
USER appuser
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
replicas: 1
image:
application: confluentinc/cp-zookeeper:7.8.0
application: confluentinc/cp-zookeeper:7.8.1
init: confluentinc/confluent-init-container:2.10.0
dataVolumeCapacity: 10Gi
logVolumeCapacity: 10Gi
Expand Down Expand Up @@ -120,8 +120,8 @@ metadata:
spec:
replicas: 1
image:
# application: confluentinc/cp-server:7.8.0
application: local/cp-server:7.8.0
# application: confluentinc/cp-server:7.8.1
application: local/cp-server:7.8.1
init: confluentinc/confluent-init-container:2.10.0
dataVolumeCapacity: 10Gi
configOverrides:
Expand Down
4 changes: 2 additions & 2 deletions jmxexporter-prometheus-grafana/cfk/up.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

# build docker image with jmx exporter version 1.1.0
docker build . --no-cache --pull -t local/cp-server:7.8.0
docker save local/cp-server:7.8.0 -o cp-server.tar
docker build . --no-cache --pull -t local/cp-server:7.8.1
docker save local/cp-server:7.8.1 -o cp-server.tar

# Start local k8s cluster with kind
echo "Starting local k8s cluster with kind"
Expand Down

0 comments on commit c64ad8c

Please sign in to comment.