Documentation ¶
Index ¶
- func NewKafka(_c interface{}) (kafka.Kafka, error)
- type Kafka
- func (k *Kafka) Close() error
- func (k *Kafka) CommitMessages(ctx context.Context, m _kafka.Message) error
- func (k *Kafka) DialContext(ctx context.Context, network, addr string) (*_kafka.Conn, error)
- func (k *Kafka) FetchMessage(ctx context.Context) (_kafka.Message, error)
- func (k *Kafka) NewReader(t []string) *_kafka.Reader
- func (k *Kafka) ReadMessage(ctx context.Context) (_kafka.Message, error)
- func (k *Kafka) WriteMessages(ctx context.Context, m _kafka.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
func (*Kafka) CommitMessages ¶
func (*Kafka) DialContext ¶
func (*Kafka) FetchMessage ¶
func (*Kafka) ReadMessage ¶
Click to show internal directories.
Click to hide internal directories.