qafro1 commented on issue #1171:
URL:
https://github.com/apache/camel-kafka-connector/issues/1171#issuecomment-843469607
Am trying to get this authentication HTTPS URL to work, but am unsure if am
using the correct properties for username and password.
Sample fake REST API endpoint: HTTPS://.....
username: fake test
password: fake test
The Real API works in Postman with the authentication method but how do I
config username and password for the REST API endpoint?
SAMPLE config
```
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: timer-http-kafka
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: timer-source
properties:
period: "5000"
message: '"Invocation"'
steps:
- ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: http-sink
properties:
url: "https://earthquake.usgs.gov/earthquakes/eventpage/ci39808832"
#username: "test"
#password: "test"
method: "get"
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: kafka-not-secured-sink
properties:
brokers: 'my-cluster-kafka-bootstrap:9092'
topic: 'test-topic'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]