Skip to content

Instantly share code, notes, and snippets.

@mkanoor
Created March 25, 2026 13:41
Show Gist options
  • Select an option

  • Save mkanoor/2337cd26093fd62c96d42644c077db64 to your computer and use it in GitHub Desktop.

Select an option

Save mkanoor/2337cd26093fd62c96d42644c077db64 to your computer and use it in GitHub Desktop.
kafka_simple.yml
fields:
- id: host
type: string
label: Host
default: localhost
- id: port
type: string
label: Port
default: '9092'
help_text: The Kafka Port Number
- id: cafile
type: string
label: The CA File
help_text: The Certificate Authority Certificate file
multiline: true
- id: check_hostname
type: boolean
label: Check Hostname
hidden: true
default: false
help_text: Validate the hostname in the servers certificate
- id: verify_mode
type: string
label: Verify Mode
hidden: true
choices:
- CERT_NONE
- CERT_OPTIONAL
- CERT_REQUIRED
default: CERT_NONE
help_text: Client certificate choices
- id: topic
type: string
label: Topic
help_text: The Kafka Topic to listen on
- 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: PLAINTEXT
help_text: Please select a security protocol from the list
- 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
- id: sasl_plain_username
type: string
label: SASL Username
help_text: The SASL username
- id: sasl_plain_password
type: string
label: SASL Password
help_text: The SASL password
secret: true
required:
- host
- port
- topic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment