Documentation
¶
Index ¶
- Constants
- Variables
- func CreateMissingTopics(ctx context.Context, opts []kgo.Opt, partitions int32, replicationFactor int16, ...) error
- func RunLocalQuery(ctx context.Context, zctx *zed.Context, batch *zbuf.Array, query string) (*zbuf.Array, error)
- type Consumer
- type Lake
- func (l *Lake) LoadBatch(ctx context.Context, zctx *zed.Context, batch *zbuf.Array) (ksuid.KSUID, error)
- func (l *Lake) NextConsumerOffset(ctx context.Context, topic string) (int64, error)
- func (l *Lake) Pool() string
- func (l *Lake) Query(ctx context.Context, src string) (*zbuf.Array, error)
- func (l *Lake) ReadBatch(ctx context.Context, topic string, offset int64, size int) (zbuf.Batch, error)
- type Producer
- type To
Constants ¶
View Source
const BatchSize = 200
Variables ¶
View Source
var ErrBadPoolKey = errors.New("pool key must be 'kafka.offset' in ascending order")
Functions ¶
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func (*Consumer) ReadValue ¶
ReadValue returns the next value. Unlike zio.Reader.Read, the caller receives ownership of zed.Value.Bytes.
type Lake ¶
type Lake struct {
// contains filtered or unexported fields
}
func (*Lake) NextConsumerOffset ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
Click to show internal directories.
Click to hide internal directories.