Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: extend example for kafka with x509 security #670

Merged
merged 8 commits into from
Jul 4, 2022
19 changes: 14 additions & 5 deletions examples/streetlights-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0

servers:
test:
url: test.mykafkacluster.org:8092
scram-connections:
url: test.mykafkacluster.org:18092
protocol: kafka-secure
description: Test broker
security:
- saslScram: []
description: Test broker secured with scramSha256
security:
- saslScram: []
mtls-connections:
url: test.mykafkacluster.org:28092
protocol: kafka-secure
description: Test broker secured with X509
security:
- certs: []

defaultContentType: application/json

Expand Down Expand Up @@ -139,6 +145,9 @@ components:
saslScram:
type: scramSha256
description: Provide your username and password for SASL/SCRAM authentication
certs:
type: X509
description: Download the certificate files from service provider

parameters:
streetlightId:
Expand Down