sub

package
v0.0.0-...-3f851fe Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotificationInputs []NotificationInput
)

Functions

This section is empty.

Types

type AwsSqsInput

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

func (*AwsSqsInput) GetName

func (k *AwsSqsInput) GetName() string

func (*AwsSqsInput) Initialize

func (k *AwsSqsInput) Initialize(configuration util.Configuration) error

func (*AwsSqsInput) ReceiveMessage

func (k *AwsSqsInput) ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)

type GoCDKPubSubInput

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

func (*GoCDKPubSubInput) GetName

func (k *GoCDKPubSubInput) GetName() string

func (*GoCDKPubSubInput) Initialize

func (k *GoCDKPubSubInput) Initialize(config util.Configuration) error

func (*GoCDKPubSubInput) ReceiveMessage

func (k *GoCDKPubSubInput) ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)

type GooglePubSubInput

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

func (*GooglePubSubInput) GetName

func (k *GooglePubSubInput) GetName() string

func (*GooglePubSubInput) Initialize

func (k *GooglePubSubInput) Initialize(configuration util.Configuration) error

func (*GooglePubSubInput) ReceiveMessage

func (k *GooglePubSubInput) ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)

type KafkaInput

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

func (*KafkaInput) GetName

func (k *KafkaInput) GetName() string

func (*KafkaInput) Initialize

func (k *KafkaInput) Initialize(configuration util.Configuration) error

func (*KafkaInput) ReceiveMessage

func (k *KafkaInput) ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)

type KafkaProgress

type KafkaProgress struct {
	Topic            string          `json:"topic"`
	PartitionOffsets map[int32]int64 `json:"partitionOffsets"`

	sync.Mutex
	// contains filtered or unexported fields
}

type NotificationInput

type NotificationInput interface {
	// GetName gets the name to locate the configuration in sync.toml file
	GetName() string
	// Initialize initializes the file store
	Initialize(configuration util.Configuration) error
	ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)
}

Jump to

Keyboard shortcuts

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