You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/16 16:18:56 UTC
[camel-kafka-connector-examples] 01/01: AWS2-SQS Source example: It
must be oc and not kubectl
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch rest-fix
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector-examples.git
commit ba99566393d064aabcdd78062232d494d734c9e3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Sep 16 18:18:02 2020 +0200
AWS2-SQS Source example: It must be oc and not kubectl
---
aws2-sqs/aws2-sqs-source/README.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aws2-sqs/aws2-sqs-source/README.adoc b/aws2-sqs/aws2-sqs-source/README.adoc
index 47e466e..d5cea17 100644
--- a/aws2-sqs/aws2-sqs-source/README.adoc
+++ b/aws2-sqs/aws2-sqs-source/README.adoc
@@ -159,7 +159,7 @@ To check the available connector plugins, you can run the following command:
[source,bash,options="nowrap"]
----
-oc exec -i `kubectl get pods --field-selector status.phase=Running -l strimzi.io/name=my-connect-cluster-connect -o=jsonpath='{.items[0].metadata.name}'` -- curl -s http://my-connect-cluster-connect-api:8083/connector-plugins
+oc exec -i `oc get pods --field-selector status.phase=Running -l strimzi.io/name=my-connect-cluster-connect -o=jsonpath='{.items[0].metadata.name}'` -- curl -s http://my-connect-cluster-connect-api:8083/connector-plugins
----
You should see something like this:
@@ -204,7 +204,7 @@ You can check the status of the connector using
[source,bash,options="nowrap"]
----
-oc exec -i `kubectl get pods --field-selector status.phase=Running -l strimzi.io/name=my-connect-cluster-connect -o=jsonpath='{.items[0].metadata.name}'` -- curl -s http://my-connect-cluster-connect-api:8083/connectors/sqs-source-connector/status
+oc exec -i `oc get pods --field-selector status.phase=Running -l strimzi.io/name=my-connect-cluster-connect -o=jsonpath='{.items[0].metadata.name}'` -- curl -s http://my-connect-cluster-connect-api:8083/connectors/sqs-source-connector/status
----
Just connect to your AWS Console and send message to the camel-connector-test, through the AWS Console.