go_kafka_integrator

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventConsumerType = eventConsumerTypes{
	JSON: "json",
	AVRO: "avro",
}
View Source
var EventProducerType = eventProducerTypes{
	JSON: "json",
	AVRO: "avro",
}

Functions

func NewEventConsumer

func NewEventConsumer(options ConsumerOptions) (base.EventConsumer, error)

func NewEventProducer

func NewEventProducer(options ProducerOptions) (base.EventProducer, error)

Types

type ConsumerOptions

type ConsumerOptions struct {
	BootstrapServers       string
	ConsumerGroupId        string
	ClusterUsername        string
	ClusterPassword        string
	EventConsumerType      string
	Logger                 logger.Logger
	SchemaRegistryURL      string
	SchemaRegistryUsername string
	SchemaRegistryPassword string
	StatsDHost             string
	StatsDPort             string
	StatsDPrefix           string
}

type ProducerOptions

type ProducerOptions struct {
	BootstrapServers       string
	ClusterUsername        string
	ClusterPassword        string
	EventProducerType      string
	Logger                 logger.Logger
	SchemaRegistryURL      string
	SchemaRegistryUsername string
	SchemaRegistryPassword string
	StatsDHost             string
	StatsDPort             string
	StatsDPrefix           string
}

Directories

Path Synopsis
consumer
producer
utils

Jump to

Keyboard shortcuts

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