testcontainer

package
v0.0.0-...-714bce8 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLUSTER_NETWORK_NAME = "kafka-cluster"
	ZOOKEEPER_PORT       = "2181"
	KAFKA_BROKER_PORT    = "9092"
	KAFKA_CLIENT_PORT    = "9093"
	ZOOKEEPER_IMAGE      = "confluentinc/cp-zookeeper:5.2.1"
	KAFKA_IMAGE          = "confluentinc/cp-kafka:5.2.1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaCluster

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

func NewKafkaCluster

func NewKafkaCluster() *KafkaCluster

func (*KafkaCluster) GetKafkaHost

func (kc *KafkaCluster) GetKafkaHost() string

func (*KafkaCluster) StartCluster

func (kc *KafkaCluster) StartCluster()

Jump to

Keyboard shortcuts

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