Documentation ¶
Index ¶
- type Kafka
- func (k *Kafka) Close() error
- func (k *Kafka) Init(metadata bindings.Metadata) error
- func (k *Kafka) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (k *Kafka) Operations() []bindings.OperationKind
- func (k *Kafka) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
Kafka allows reading/writing to a Kafka consumer group.
func (*Kafka) Invoke ¶
func (k *Kafka) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*Kafka) Operations ¶
func (k *Kafka) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.