azure_eventhub

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dynamic added in v0.28.0

func Dynamic(opts *cli.Options) error

Dynamic starts up a new GRPC client connected to the dProxy service and receives a stream of outbound replay messages which are then written to the message bus.

func NewClient

func NewClient(opts *cli.Options) (*eventhub.Hub, error)

NewClient returns a properly configured service bus client

func Read

func Read(opts *cli.Options) error

func Write

func Write(opts *cli.Options) error

Write performs necessary setup and calls AzureServiceBus.Write() to write the actual message

Types

type AzureEventHub

type AzureEventHub struct {
	Options *cli.Options
	MsgDesc *desc.MessageDescriptor
	Client  *eventhub.Hub
	// contains filtered or unexported fields
}

func (*AzureEventHub) Read

func (a *AzureEventHub) Read() error

func (*AzureEventHub) Write

func (a *AzureEventHub) Write(ctx context.Context, value []byte) error

Write writes a message to a random partition on

Jump to

Keyboard shortcuts

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