Documentation
¶
Index ¶
Constants ¶
View Source
const ( Krb5KeytabAuth = 2 CommitRetries = 6 RetryBackoff = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func GetFranzConfig ¶
func GetFranzConfig(kfkCfg *config.KafkaConfig) (opts []kgo.Opt, err error)
Types ¶
type KafkaFranz ¶
type KafkaFranz struct {
// contains filtered or unexported fields
}
KafkaFranz implements input.Inputer refers to examples/group_consuming/main.go
func (*KafkaFranz) CommitMessages ¶
func (k *KafkaFranz) CommitMessages(msg *model.InputMessage) error
func (*KafkaFranz) Description ¶
func (k *KafkaFranz) Description() string
Description of this kafka consumer, consumer group name
func (*KafkaFranz) Init ¶
func (k *KafkaFranz) Init(cfg *config.Config, gCfg *config.GroupConfig, f chan Fetches, cleanupFn func()) (err error)
Init Initialise the kafka instance with configuration
Click to show internal directories.
Click to hide internal directories.