eventhub

package
v0.0.0-...-bb4aa43 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type Event

type Event struct {
	Records []struct {
		Properties struct {
			Log string `json:"log"`
		} `json:"properties"`
	} `json:"records"`
}

func UnmarshallEvent

func UnmarshallEvent(eventJObj []byte) (error, Event)

type HubEventUnpacker

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

func (*HubEventUnpacker) InitConfig

func (HubEventUnpacker) Process

func (h HubEventUnpacker) Process(eventJObj []byte, partitionID string, eventID int64, rateLimiter *rate.Limiter) error

Jump to

Keyboard shortcuts

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