Use new kafka broker name Bug: Issue 14416 Change-Id: I63139da94627fa91f486df6d1c9b62beea2aacb3
diff --git a/setup_local_env/configs/gerrit.config b/setup_local_env/configs/gerrit.config index f9eca89..884b5be 100644 --- a/setup_local_env/configs/gerrit.config +++ b/setup_local_env/configs/gerrit.config
@@ -39,7 +39,7 @@ allowRemoteAdmin = true [plugin "websession-flatfile"] directory = $FAKE_NFS -[plugin "kafka-events"] +[plugin "events-kafka"] sendAsync = true bootstrapServers = localhost:$KAFKA_PORT groupId = $KAFKA_GROUP_ID
diff --git a/setup_local_env/setup.sh b/setup_local_env/setup.sh index 7615ca0..87af305 100755 --- a/setup_local_env/setup.sh +++ b/setup_local_env/setup.sh
@@ -361,9 +361,9 @@ -O $DEPLOYMENT_LOCATION/events-broker.jar || { echo >&2 "Cannot download events-broker library: Check internet connection. Abort\ ing"; exit 1; } -echo "Downloading kafka-events plugin $GERRIT_BRANCH" - wget $GERRIT_CI/plugin-kafka-events-bazel-$GERRIT_BRANCH/$LAST_BUILD/kafka-events/kafka-events.jar \ - -O $DEPLOYMENT_LOCATION/kafka-events.jar || { echo >&2 "Cannot download kafka-events plugin: Check internet connection. Abort\ +echo "Downloading events-kafka plugin $GERRIT_BRANCH" + wget $GERRIT_CI/plugin-events-kafka-bazel-$GERRIT_BRANCH/$LAST_BUILD/events-kafka/events-kafka.jar \ + -O $DEPLOYMENT_LOCATION/events-kafka.jar || { echo >&2 "Cannot download events-kafka plugin: Check internet connection. Abort\ ing"; exit 1; } echo "Downloading metrics-reporter-prometheus plugin $GERRIT_BRANCH" @@ -413,8 +413,8 @@ echo "Copy events broker library" cp -f $DEPLOYMENT_LOCATION/events-broker.jar $LOCATION_TEST_SITE_1/lib/events-broker.jar - echo "Copy kafka events plugin" - cp -f $DEPLOYMENT_LOCATION/kafka-events.jar $LOCATION_TEST_SITE_1/plugins/kafka-events.jar + echo "Copy events kafka plugin" + cp -f $DEPLOYMENT_LOCATION/events-kafka.jar $LOCATION_TEST_SITE_1/plugins/events-kafka.jar echo "Copy metrics-reporter-prometheus plugin" cp -f $DEPLOYMENT_LOCATION/metrics-reporter-prometheus.jar $LOCATION_TEST_SITE_1/plugins/metrics-reporter-prometheus.jar