tail

package
v0.0.0-...-7fad99f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TailSession

type TailSession struct {
	TailSessionOptions
	BQBuf    []byte
	BQSess   *bigquery.ReaderSession
	Data     []byte
	Addr     *domain.SegmentAddress
	Bookmark *domain.Bookmark
	EOF      bool
	Req      *v1.TailRequest
}

func (*TailSession) Commit

func (t *TailSession) Commit(ctx context.Context, msgId uuid.UUID) error

func (*TailSession) Done

func (t *TailSession) Done() <-chan struct{}

func (*TailSession) Poll

func (t *TailSession) Poll(ctx context.Context) (data []byte, err error)

type TailSessionOptions

type TailSessionOptions struct {
	BQReaderService *bigquery.ReaderService
	Sess            *etcd.TailSession
	Topic           *domain.Topic
	Subscription    types.SubscriptionId
}

Jump to

Keyboard shortcuts

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