Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsKafkaMessage ¶
Types ¶
type KafkaMessage ¶
func NewMessage ¶
func NewMessage(msg kafka.Message) *KafkaMessage
func (KafkaMessage) Key ¶
func (k KafkaMessage) Key() []byte
func (KafkaMessage) Value ¶
func (k KafkaMessage) Value() []byte
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(r *kafka.Reader) *Subscriber
Click to show internal directories.
Click to hide internal directories.