Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-3849

[DOC] wrong jsonpath when looking at route

XMLWordPrintable

    • False
    • None
    • False

      see  Using AMQ Streams on OpenShift: 4.4. Accessing Kafka using OpenShift routes

      https://access.redhat.com/documentation/en-us/red_hat_amq_streams/2.0/html-single/using_amq_streams_on_openshift/index#proc-accessing-kafka-using-routes-str

      Step 3: jsonpath is wrong. Should be "route", correct:

       

      $ oc get kafka KAFKA-CLUSTER-NAME -o=jsonpath='{.status.listeners[?(@.type=="external")].bootstrapServers}{"\n"}'
      $ oc get kafka KAFKA-CLUSTER-NAME -o=jsonpath='{.status.listeners[?(@.type=="route")].bootstrapServers}{"\n"}'
      my-cluster-kafka-route-bootstrap-kafka.<my-ocp-cluster>:443
      

       

       

            pmellor@redhat.com Paul Mellor
            rbaumgar Robert Baumgartner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: