azureeventhubssource

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

NewAdapter satisfies pkgadapter.AdapterConstructor.

func NewEnvConfig

func NewEnvConfig() pkgadapter.EnvConfigAccessor

NewEnvConfig satisfies pkgadapter.EnvConfigConstructor.

Types

type EventWithRawData

type EventWithRawData struct {
	Body json.RawMessage
	*azeventhubs.EventData
}

EventWithRawData is an eventhub.Event with RawMessage-typed data.

type MessageProcessor

type MessageProcessor interface {
	Process(*azeventhubs.ReceivedEventData) ([]*cloudevents.Event, error)
}

MessageProcessor converts an Event Hubs message to a CloudEvent.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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