confluentinc/examples

io.confluent:rest-utils-parent:[7.3.1-0, 7.3.2-0) no versions matched

m03315 opened this issue · 2 comments

Description
[ERROR] Non-resolvable parent POM io.confluent:rest-utils-parent:[7.3.1-0, 7.3.2-0) for io.confluent:clients-example:7.3.1-0: No versions matched the requested parent version range '[7.3.1-0, 7.3.2-0)' and 'parent.relativePath' points at wrong local POM @ line 7, column 13

Troubleshooting
last version available is 7.3.0 here
https://packages.confluent.io/maven/io/confluent/rest-utils-parent/

Hi @m03315 thank you for reporting. This particular issue has been fixed over the weekend in 7.3.1-post. I'd recommend starting fresh on the 7.3.1-post branch. There is one other prometheus container bug that needs fixing too. You'll have to make this change in the start.sh script:

diff --git a/ccloud-observability/start.sh b/ccloud-observability/start.sh
index 973872aa..128631e5 100755
--- a/ccloud-observability/start.sh
+++ b/ccloud-observability/start.sh
@@ -63,7 +63,7 @@ fi
 echo "$OUTPUT" | jq .
 export METRICS_API_KEY=$(echo "$OUTPUT" | jq -r ".key")
 export METRICS_API_SECRET=$(echo "$OUTPUT" | jq -r ".secret")
-export CLOUD_CLUSTER=$CLUSTER
+export CLOUD_CLUSTER=$(confluent kafka cluster describe -o json |  jq -c '[.id]')

This will be fixed in the repo but might take a few days to land.

@m03315 this branch fixes a handful of issues in this example. it'll be merged into 7.3.1-post soon