utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PulsarQueue string = "pulsar"
	MemoryQueue string = "memory"
)

Variables

This section is empty.

Functions

func GetInputTopics

func GetInputTopics(f *adminclient.ModelFunction) ([]string, error)

func GetOutputTopic

func GetOutputTopic(f *adminclient.ModelFunction) (string, error)

func MakeMemorySinkTubeConfig added in v0.5.0

func MakeMemorySinkTubeConfig(topic string) *adminclient.ModelTubeConfig

func MakeMemorySourceTubeConfig added in v0.5.0

func MakeMemorySourceTubeConfig(topics ...string) []adminclient.ModelTubeConfig

func MakePulsarSinkTubeConfig added in v0.5.0

func MakePulsarSinkTubeConfig(topic string) *adminclient.ModelTubeConfig

func MakePulsarSourceTubeConfig added in v0.5.0

func MakePulsarSourceTubeConfig(topics ...string) []adminclient.ModelTubeConfig

func MakeQueueSinkTubeConfig

func MakeQueueSinkTubeConfig(queueType string, topic string) *adminclient.ModelTubeConfig

func MakeQueueSourceTubeConfig

func MakeQueueSourceTubeConfig(queueType string, subName string, topics ...string) []adminclient.ModelTubeConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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