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:09:47 UTC
[camel-kafka-connector-examples] 01/01: AWS2-SQS Openshift example:
Fixed rest calls
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch rest-calls
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector-examples.git
commit 7aff73d7d73347837ae1cb30b38ee99aab02ca65
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Sep 16 18:09:16 2020 +0200
AWS2-SQS Openshift example: Fixed rest calls
---
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 aac6275..47e466e 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 -c kafka my-cluster-kafka-0 -- curl -s http://my-connect-cluster-connect-api:8083/connector-plugins
+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
----
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 -c kafka my-cluster-kafka-0 -- curl -s http://my-connect-cluster-connect-api:8083/connectors/sqs-source-connector/status
+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
----
Just connect to your AWS Console and send message to the camel-connector-test, through the AWS Console.