gaws

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotUnmarshalSnsMessage = errors.New("gluon: Cannot unmarshal AWS SNS message")

Functions

This section is empty.

Types

type GlueSchemaRegistry added in v0.3.0

type GlueSchemaRegistry struct {
	Client           *glue.Client
	RegistryName     string
	UseLatestVersion bool
}

func (GlueSchemaRegistry) GetBaseLocation added in v0.3.0

func (g GlueSchemaRegistry) GetBaseLocation() string

func (GlueSchemaRegistry) GetSchemaDefinition added in v0.3.0

func (g GlueSchemaRegistry) GetSchemaDefinition(schemaName string, version int) (string, error)

func (GlueSchemaRegistry) IsUsingLatestSchema added in v0.3.0

func (g GlueSchemaRegistry) IsUsingLatestSchema() bool

type SnsSqsConfig

type SnsSqsConfig struct {
	AwsConfig                 aws.Config
	AccountID                 string
	SnsClient                 *sns.Client
	SqsClient                 *sqs.Client
	CustomSqsEndpoint         string
	MaxNumberOfMessagesPolled int32
	VisibilityTimeout         int32
	WaitTimeSeconds           int32
	MaxBatchPollingRetries    int
	FailedPollingBackoff      time.Duration
}

func (SnsSqsConfig) GetFailedPollingBackoff

func (c SnsSqsConfig) GetFailedPollingBackoff() time.Duration

func (SnsSqsConfig) GetMaxBatchPollingRetries

func (c SnsSqsConfig) GetMaxBatchPollingRetries() int

func (SnsSqsConfig) GetMaxNumberOfMessagesPolled

func (c SnsSqsConfig) GetMaxNumberOfMessagesPolled() int32

func (SnsSqsConfig) GetVisibilityTimeout

func (c SnsSqsConfig) GetVisibilityTimeout() int32

func (SnsSqsConfig) GetWaitTimeSeconds

func (c SnsSqsConfig) GetWaitTimeSeconds() int32

Jump to

Keyboard shortcuts

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