brokers

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Kafka string = "kafka"
)

All possible broker names supported by Inspr

Variables

View Source
var SupportedBrokers = []string{
	Kafka,
}

SupportedBrokers is a list of all supported brokers

Functions

This section is empty.

Types

type BrokerConfiguration

type BrokerConfiguration interface {
	Broker() string
}

BrokerConfiguration generic interface type

type BrokerStatusArray

type BrokerStatusArray map[string]BrokerConfiguration

BrokerStatusArray generic status array, used to return brokers data

func (*BrokerStatusArray) Brokers

func (bsa *BrokerStatusArray) Brokers() utils.StringArray

Brokers returns an array containing the name of all availible brokers

type Brokers

type Brokers struct {
	Default   string
	Available BrokerStatusArray
}

Brokers define all Available brokers on Insprd and its default broker

type ChannelBroker

type ChannelBroker struct {
	ChName string
	Broker string
}

ChannelBroker associates channel names with their brokers, used to recover data from enviroment

Jump to

Keyboard shortcuts

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