kafka

package
v0.0.0-...-1bc13c6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTopic           = "clo-topic"
	AppLogsTopic           = "clo-app-topic"
	AuditLogsTopic         = "clo-audit-topic"
	InfraLogsTopic         = "clo-infra-topic"
	DeploymentName         = "kafka"
	ConsumerDeploymentName = "kafka-consumer"

	KafkaImage          = kafkaImageRepoOrg + "kafka:" + kafkaImageTag
	KafkaInitUtilsImage = kafkaImageRepoOrg + "kafka-initutils:" + kafkaImageTag
)

Variables

This section is empty.

Functions

func ClusterLocalEndpoint

func ClusterLocalEndpoint(namespace string) string

func ConsumerNameForTopic

func ConsumerNameForTopic(topic string) string

func NewBrokerConfigMap

func NewBrokerConfigMap(namespace string) *v1.ConfigMap

func NewBrokerConfigMapFunctionalTestPod

func NewBrokerConfigMapFunctionalTestPod(namespace string) *v1.ConfigMap

func NewBrokerRBAC

func NewBrokerRBAC(namespace string) (*rbacv1.ClusterRole, *rbacv1.ClusterRoleBinding)

func NewBrokerSecret

func NewBrokerSecret(namespace string) *v1.Secret

func NewBrokerService

func NewBrokerService(namespace string) *v1.Service

func NewBrokerStatefuleSet

func NewBrokerStatefuleSet(namespace string) *apps.StatefulSet

func NewKafkaConsumerDeployment

func NewKafkaConsumerDeployment(namespace, topic string) *apps.Deployment

func NewZookeeperConfigMap

func NewZookeeperConfigMap(namespace string) *v1.ConfigMap

func NewZookeeperConfigMapFunctionalTestPod

func NewZookeeperConfigMapFunctionalTestPod(namespace string) *v1.ConfigMap

func NewZookeeperService

func NewZookeeperService(namespace string) *v1.Service

func NewZookeeperStatefuleSet

func NewZookeeperStatefuleSet(namespace string) *apps.StatefulSet

func TopicForInputName

func TopicForInputName(topics []string, inputName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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