Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Bootstrap of Kafka cluster. Required. Bootstrap []string // Version of Kafka Version string // ServiceName name of service which is implementing health check ServiceName string // Timeout of a cycle of produce and consume Timeout time.Duration // CustomTopicName optional custom topic name CustomTopicName string }
Config is the Kafka checker configuration settings container.
type Consumer ¶ added in v1.2.13
type Consumer interface { AddClaimer(string, MessageClaimer) AddSetupHook(hook Hook) AddCleanupHook(hook Hook) }
type Hook ¶ added in v1.2.13
type Hook func(session sarama.ConsumerGroupSession)
type MessageClaimer ¶ added in v1.2.13
type MessageClaimer func(*sarama.ConsumerMessage) bool
Click to show internal directories.
Click to hide internal directories.