Skip to content

Instantly share code, notes, and snippets.

@mkanoor
Last active April 9, 2025 19:35
Show Gist options
  • Select an option

  • Save mkanoor/2a7b908405208db2552108a7d15d0dcf to your computer and use it in GitHub Desktop.

Select an option

Save mkanoor/2a7b908405208db2552108a7d15d0dcf to your computer and use it in GitHub Desktop.
Kafka Server mTLS inputs
fields:
- id: host
type: string
label: Host
default: localhost
- id: port
type: string
label: Port
help_text: The Kafka Port Number
default: '9093'
- id: cafile
type: string
label: CA File
multiline: true
help_text: The Certificate Authority Certificate file
- id: certfile
type: string
label: Certificate File
multiline: true
help_text: The Certificate file for the client
- id: keyfile
type: string
label: Key File
multiline: true
help_text: The Key file for the client
- id: key_password
type: string
label: Key Password
help_text: The password for the Key file
secret: true
- id: check_hostname
type: boolean
label: Check Hostname
help_text: Validate the hostname in the servers certificate
default: true
hidden: true
- id: verify_mode
type: string
label: Verify Mode
choices:
- CERT_NONE
- CERT_OPTIONAL
- CERT_REQUIRED
default: CERT_REQUIRED
help_text: Client certificate choices
hidden: true
- id: topic
type: string
label: Topic
help_text: The Kafka Topic to listen on
default: demo
- id: group_id
type: string
label: Group ID
help_text: Consumer group ID
- id: offset
type: string
label: Reading offset
choices:
- earliest
- latest
default: latest
help_text: Please select a security protocol from the list
- id: security_protocol
type: string
label: Security Protocol
choices:
- PLAINTEXT
- SSL
- SASL_PLAINTEXT
- SASL_SSL
default: SSL
help_text: Please select a security protocol from the list
hidden: true
- id: sasl_mechanism
type: string
label: SASL Mechanism
choices:
- PLAIN
- GSSAPI
- SCRAM-SHA-256
- SCRAM-SHA-512
- OAUTHBEARER
default: PLAIN
help_text: Please select a SASL mechanism from the list
hidden: true
- id: sasl_plain_username
type: string
label: SASL Username
help_text: The SASL username
hidden: true
- id: sasl_plain_password
type: string
label: SASL Password
help_text: The SASL password
secret: true
hidden: true
required:
- host
- port
- topic
- cafile
- certfile
- keyfile
- group_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment