Skip to content

Instantly share code, notes, and snippets.

@dalelane
Created November 27, 2020 11:21
Show Gist options
  • Save dalelane/89f3d54d9b8bcf163cd283f315d59739 to your computer and use it in GitHub Desktop.
Save dalelane/89f3d54d9b8bcf163cd283f315d59739 to your computer and use it in GitHub Desktop.
secured Kafka cluster
asyncapi: 2.0.0
...
servers:
reallyproduction:
url: localhost:9092
description: Production server
protocol: kafka-secure
protocolVersion: '1.0.0'
security:
- saslScramCreds: []
...
components:
securitySchemes:
saslScramCreds:
type: userPassword
description: Info about how/where to get credentials
x-mykafka-sasl-mechanism: 'SCRAM-SHA-256'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment