azureeventhubsource

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

NewAdapter returns a constructor for the source's adapter.

func NewEnvConfig

func NewEnvConfig() pkgadapter.EnvConfigAccessor

NewEnvConfig returns an accessor for the source's adapter envConfig.

Types

type EventWithRawData

type EventWithRawData struct {
	Data json.RawMessage
	*eventhub.Event
}

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

type MessageProcessor added in v1.4.1

type MessageProcessor interface {
	Process(*eventhub.Event) ([]*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