eventhubs

package
v1.13.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureEventHubs

func NewAzureEventHubs(logger logger.Logger) bindings.InputOutputBinding

NewAzureEventHubs returns a new Azure Event hubs instance.

Types

type AzureEventHubs

type AzureEventHubs struct {
	*impl.AzureEventHubs
}

AzureEventHubs allows sending/receiving Azure Event Hubs events.

func (*AzureEventHubs) Close added in v1.4.4

func (a *AzureEventHubs) Close() error

func (*AzureEventHubs) GetComponentMetadata added in v1.11.0

func (a *AzureEventHubs) GetComponentMetadata() (metadataInfo contribMetadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*AzureEventHubs) Init

func (a *AzureEventHubs) Init(_ context.Context, metadata bindings.Metadata) error

Init performs metadata init.

func (*AzureEventHubs) Invoke

Write posts an event hubs message.

func (*AzureEventHubs) Operations

func (a *AzureEventHubs) Operations() []bindings.OperationKind

func (*AzureEventHubs) Read

func (a *AzureEventHubs) Read(ctx context.Context, handler bindings.Handler) error

Read gets messages from Event Hubs in a non-blocking way.

Jump to

Keyboard shortcuts

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