kafka

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

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

func (Error) String

func (k Error) String() string

func (Error) Timestamp

func (k Error) Timestamp() int64

type Store

type Store struct {
	*kafka.Consumer
	// contains filtered or unexported fields
}

func NewStore

func NewStore(kafkaConfiguration kafka.ConfigMap, bootstrapServers string, topics []string, groupID string, sessionTimeout int) (*Store, error)

func (*Store) Close

func (ks *Store) Close() error

TODO remove return error

func (*Store) Events

func (ks *Store) Events() chan store.Event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳