Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
Kafka allows reading/writing to a Kafka consumer group
func (*Kafka) Publish ¶
func (k *Kafka) Publish(req *pubsub.PublishRequest) error
Publish message to Kafka cluster
func (*Kafka) Subscribe ¶
func (k *Kafka) Subscribe(req pubsub.SubscribeRequest, handler func(msg *pubsub.NewMessage) error) error
Subscribe to topic in the Kafka cluster This call cannot block like its sibling in bindings/kafka because of where this is invoked in runtime.go
Click to show internal directories.
Click to hide internal directories.