Documentation ¶
Index ¶
Constants ¶
View Source
const TopicCheckEvent = "check_events"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckEvent ¶
type CheckEventConsumer ¶
type CheckEventConsumer struct {
// contains filtered or unexported fields
}
func NewCheckEventConsumer ¶
func NewCheckEventConsumer( checkRepo repository.CheckRepository, client sarama.Client, l *zap.Logger, ) *CheckEventConsumer
type Producer ¶
type Producer interface {
ProduceCheckEvent(evt CheckEvent) error
}
func NewSaramaCheckProducer ¶
func NewSaramaCheckProducer(producer sarama.SyncProducer) Producer
type SaramaCheckProducer ¶
type SaramaCheckProducer struct {
// contains filtered or unexported fields
}
func (*SaramaCheckProducer) ProduceCheckEvent ¶
func (s *SaramaCheckProducer) ProduceCheckEvent(evt CheckEvent) error
Click to show internal directories.
Click to hide internal directories.