Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncProducer ¶ added in v1.6.0
type AsyncProducer struct {
// contains filtered or unexported fields
}
func (*AsyncProducer) Produce ¶ added in v1.6.0
func (p *AsyncProducer) Produce(topic, value string)
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
func (*Kafka) AsyncProducer ¶ added in v1.6.0
func (q *Kafka) AsyncProducer() (*AsyncProducer, error)
func (*Kafka) NewConsumer ¶
func (*Kafka) SyncProducer ¶ added in v1.6.0
func (q *Kafka) SyncProducer() (*SyncProducer, error)
type SyncProducer ¶ added in v1.6.0
type SyncProducer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.