Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcknowledgementStrategy ¶
type AcknowledgementStrategy uint
const ( // AtMostOnce configures the Consumer to acknowledge the message after the // Consumer receives the Message but before it is passed to the MessageHandler // to process the message. AtMostOnce AcknowledgementStrategy = 1 AtLeastOnce AcknowledgementStrategy = 2 )
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
type MessageHandler ¶
MessageHandler is a type that processes message read from Kafka
type MessageHandlerFunc ¶
func (MessageHandlerFunc) ProcessMessage ¶
func (m MessageHandlerFunc) ProcessMessage(msg Message) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.