Documentation ¶
Index ¶
Constants ¶
View Source
const TopicZapLogs = "linkme_elk_events"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsLogsConsumer ¶
type EsLogsConsumer struct {
// contains filtered or unexported fields
}
func NewEsLogsConsumer ¶
func NewEsLogsConsumer(client sarama.Client, rs repository.SearchRepository, l *zap.Logger) *EsLogsConsumer
func (*EsLogsConsumer) BatchHandleLogs ¶
func (es *EsLogsConsumer) BatchHandleLogs(_ []*sarama.ConsumerMessage, events []Event) error
Click to show internal directories.
Click to hide internal directories.