Skip to content

Commit

Permalink
docs: extend example for kafka with x509 security (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Jul 4, 2022
1 parent 9196699 commit d252352
Showing 1 changed file with 14 additions and 5 deletions.
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

0 comments on commit d252352

Please sign in to comment.