Documentation ¶
Index ¶
- Variables
- type Kafka
- func (*Kafka) Descriptor() ([]byte, []int)
- func (m *Kafka) GetAddress() []string
- func (m *Kafka) GetInsecureTls() bool
- func (m *Kafka) GetSaslPassword() string
- func (m *Kafka) GetSaslType() SASLType
- func (m *Kafka) GetSaslUsername() string
- func (m *Kafka) GetTimeoutSeconds() int32
- func (m *Kafka) GetUseTls() bool
- func (*Kafka) ProtoMessage()
- func (m *Kafka) Reset()
- func (m *Kafka) String() string
- func (m *Kafka) XXX_DiscardUnknown()
- func (m *Kafka) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Kafka) XXX_Merge(src proto.Message)
- func (m *Kafka) XXX_Size() int
- func (m *Kafka) XXX_Unmarshal(b []byte) error
- type SASLType
Constants ¶
This section is empty.
Variables ¶
View Source
var SASLType_name = map[int32]string{
0: "NONE",
1: "PLAIN",
2: "SCRAM",
}
View Source
var SASLType_value = map[string]int32{
"NONE": 0,
"PLAIN": 1,
"SCRAM": 2,
}
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct { // Required Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // Optional; how long to attempt connecting for (default: 10s) TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // Optional UseTls bool `protobuf:"varint,3,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"` // Optional InsecureTls bool `protobuf:"varint,4,opt,name=insecure_tls,json=insecureTls,proto3" json:"insecure_tls,omitempty"` // Optional SaslType SASLType `protobuf:"varint,5,opt,name=sasl_type,json=saslType,proto3,enum=protos.conns.SASLType" json:"sasl_type,omitempty"` // Required if sasl_type is not NONE SaslUsername string `protobuf:"bytes,6,opt,name=sasl_username,json=saslUsername,proto3" json:"sasl_username,omitempty"` // Required if sasl_type is not NONE SaslPassword string `protobuf:"bytes,7,opt,name=sasl_password,json=saslPassword,proto3" json:"sasl_password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Kafka) Descriptor ¶
func (*Kafka) GetAddress ¶
func (*Kafka) GetInsecureTls ¶
func (*Kafka) GetSaslPassword ¶
func (*Kafka) GetSaslType ¶
func (*Kafka) GetSaslUsername ¶
func (*Kafka) GetTimeoutSeconds ¶
func (*Kafka) ProtoMessage ¶
func (*Kafka) ProtoMessage()
func (*Kafka) XXX_DiscardUnknown ¶
func (m *Kafka) XXX_DiscardUnknown()
func (*Kafka) XXX_Marshal ¶
func (*Kafka) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.