Skip to content

Commit ea42983

Browse files
committed
Updated cli commands
1 parent 543355b commit ea42983

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/service-connector/tutorial-java-spring-confluent-kafka.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Create an instance of Azure Spring Apps by following [the Azure Spring Apps quic
9898
1. Create the app with a public endpoint assigned. If you selected Java version 11 when generating the Spring Cloud project, include the `--runtime-version=Java_11` switch.
9999

100100
```azurecli
101-
az spring-cloud app create -n hellospring -s <service-instance-name> -g <your-resource-group-name> --assign-endpoint true
101+
az spring app create -n hellospring -s <service-instance-name> -g <your-resource-group-name> --assign-endpoint true
102102
```
103103

104104
## Create a service connection using Service Connector
@@ -108,7 +108,7 @@ Create an instance of Azure Spring Apps by following [the Azure Spring Apps quic
108108
Run the following command to connect your Apache Kafka on Confluent Cloud to your spring cloud app.
109109

110110
```azurecli
111-
az spring-cloud connection create confluent-cloud -g <your-spring-cloud-resource-group> --service <your-spring-cloud-service> --app <your-spring-cloud-app> --deployment <your-spring-cloud-deployment> --bootstrap-server <kafka-bootstrap-server-url> --kafka-key <cluster-api-key> --kafka-secret <cluster-api-secret> --schema-registry <kafka-schema-registry-endpoint> --schema-key <registry-api-key> --schema-secret <registry-api-secret>
111+
az spring connection create confluent-cloud -g <your-spring-cloud-resource-group> --service <your-spring-cloud-service> --app <your-spring-cloud-app> --deployment <your-spring-cloud-deployment> --bootstrap-server <kafka-bootstrap-server-url> --kafka-key <cluster-api-key> --kafka-secret <cluster-api-secret> --schema-registry <kafka-schema-registry-endpoint> --schema-key <registry-api-key> --schema-secret <registry-api-secret>
112112
```
113113

114114
Replace the following placeholder texts with your own data:
@@ -147,7 +147,7 @@ Select **Review + Create** to review the connection settings. Then select **Crea
147147
Run the following command to upload the JAR file (`build/libs/java-springboot-0.0.1-SNAPSHOT.jar`) to your Spring Cloud app.
148148
149149
```azurecli
150-
az spring-cloud app deploy -n hellospring -s <service-instance-name> -g <your-resource-group-name> --artifact-path build/libs/java-springboot-0.0.1-SNAPSHOT.jar
150+
az spring app deploy -n hellospring -s <service-instance-name> -g <your-resource-group-name> --artifact-path build/libs/java-springboot-0.0.1-SNAPSHOT.jar
151151
```
152152
153153
## Validate the Kafka data ingestion

0 commit comments

Comments
 (0)