eventhub

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHubInput

type EventHubInput struct {
	azure.EventHub
}

EventHubInput is an operator that reads input from Azure Event Hub.

func (*EventHubInput) Start

func (e *EventHubInput) Start() error

Start will start generating log entries.

func (*EventHubInput) Stop

func (e *EventHubInput) Stop() error

Stop will stop generating logs.

type EventHubInputConfig

type EventHubInputConfig struct {
	helper.InputConfig `yaml:",inline"`
	azure.AzureConfig  `yaml:",inline"`
}

EventHubInputConfig is the configuration of a Azure Event Hub input operator.

func NewEventHubConfig

func NewEventHubConfig(operatorID string) *EventHubInputConfig

NewEventHubConfig creates a new Azure Event Hub input config with default values

func (*EventHubInputConfig) Build

func (c *EventHubInputConfig) Build(buildContext operator.BuildContext) ([]operator.Operator, error)

Build will build a Azure Event Hub input operator.

Jump to

Keyboard shortcuts

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