eventhubs

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureEventHubs

type AzureEventHubs struct {
	// contains filtered or unexported fields
}

AzureEventHubs allows sending/receiving Azure Event Hubs events.

func NewAzureEventHubs

func NewAzureEventHubs(logger logger.Logger) *AzureEventHubs

NewAzureEventHubs returns a new Azure Event hubs instance.

func (*AzureEventHubs) Close added in v1.4.4

func (a *AzureEventHubs) Close() error

func (*AzureEventHubs) Init

func (a *AzureEventHubs) Init(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(handler bindings.Handler) error

Read gets messages from eventhubs in a non-blocking fashion.

func (*AzureEventHubs) RegisterEventProcessor

func (a *AzureEventHubs) RegisterEventProcessor(handler bindings.Handler) error

RegisterEventProcessor - receive eventhub messages by eventprocessor host by balancing partitions.

func (*AzureEventHubs) RegisterPartitionedEventProcessor

func (a *AzureEventHubs) RegisterPartitionedEventProcessor(handler bindings.Handler) error

RegisterPartitionedEventProcessor - receive eventhub messages by partitionID.

Jump to

Keyboard shortcuts

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