kafka

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTLSConfig

func NewTLSConfig(clientCertFile, clientKeyFile, caCertFile string) (*tls.Config, error)

Types

type TLSKafkaUploader

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

func NewTLSKafkaUploader

func NewTLSKafkaUploader(kafkaUrl string, certFile string, keyFile string, caFile string) (ku *TLSKafkaUploader, err error)

func (*TLSKafkaUploader) Close

func (ku *TLSKafkaUploader) Close()

func (*TLSKafkaUploader) SendMessage

func (ku *TLSKafkaUploader) SendMessage(topic string, key string, value string) error

Jump to

Keyboard shortcuts

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