fixer

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer[T migrator.Entity] struct {
	// contains filtered or unexported fields
}

func NewConsumer

func NewConsumer[T migrator.Entity](client sarama.Client, l logger.Logger,
	src *gorm.DB, dst *gorm.DB, topic string) (*Consumer[T], error)

func (*Consumer[T]) Consume

func (c *Consumer[T]) Consume(msg *sarama.ConsumerMessage, evt events.InconsistentEvent) error

func (*Consumer[T]) Start

func (c *Consumer[T]) Start() error

Jump to

Keyboard shortcuts

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