kafka

package
v0.0.0-...-c772d2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaListener

type KafkaListener struct {
	// contains filtered or unexported fields
}

func NewKafkaListener

func NewKafkaListener(config KafkaProcessorConfig, dataProcessor processors.DataProcessor, ledgerWriter backends.LedgerWriter) *KafkaListener

func (*KafkaListener) Name

func (k *KafkaListener) Name() string

func (*KafkaListener) Start

func (k *KafkaListener) Start()

func (*KafkaListener) Stop

func (k *KafkaListener) Stop()

type KafkaProcessorConfig

type KafkaProcessorConfig struct {
	Topic   string
	Address string
	GroupId string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL