mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
24 lines
519 B
Go
24 lines
519 B
Go
package v1beta3
|
|
|
|
type KafkaSASLConfig struct {
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
Mechanism string `json:"mechanism"`
|
|
ScramSHASize string `json:"scramSHASize"`
|
|
}
|
|
|
|
type KafkaConfig struct {
|
|
Brokers []string `json:"brokers"`
|
|
// +optional
|
|
TLS bool `json:"tls"`
|
|
// +optional
|
|
SASL *KafkaSASLConfig `json:"sasl,omitempty"`
|
|
}
|
|
|
|
type NatsConfig struct {
|
|
URL string `json:"url"`
|
|
// +kubebuilder:default:=3
|
|
// +optional
|
|
Replicas int `json:"replicas"`
|
|
}
|