msk

package
v0.0.0-...-556d222 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kafka

type Kafka interface {
	kafkaiface.KafkaAPI
}

Kafka defineis aws-sdk-go v1 kafka interface

func NewKafkaMaster

func NewKafkaMaster(ctx ctx.CTX, mskConfig *MSKConfig) (mskSrv Kafka)

NewKafkaMaster provide aws-go-sdk-v1 test able solution

type KafkaConnect

type KafkaConnect interface {
	kafkaconnectiface.KafkaConnectAPI
}

KafkaConnect defines aws msk kafka connect interface

func NewKafkaConnect

func NewKafkaConnect(ctx ctx.CTX, conectConf *MSKConnectConfig) (mskSrv KafkaConnect)

NewKafkaConnect to new kafkaConnet API

type MSKConfig

type MSKConfig struct {
	AssumeRoleARN string `json:"assume_role_arn"`
	Region        string `json:"region"`
}

MSKConfig is the contract to New Kafka management

type MSKConnectConfig

type MSKConnectConfig struct {
	IAMUser       *entities.IAMUser `json:"iam_user,omitempty"`
	AssumeRoleARN string            `json:"assume_role_arn"`
	Region        string            `json:"region"`
}

MSKConnectConfig defines kafka

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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