producer

package
v0.10.3-0...-843c1f5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProduceServer

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

ProduceServer is a ProduceServer of log messages.

func CreateProduceServer

func CreateProduceServer(walManager walmanager.Manager, streamServer streamingpb.StreamingNodeHandlerService_ProduceServer) (*ProduceServer, error)

CreateProduceServer create a new producer. Expected message sequence: CreateProducer (Header) ProduceRequest 1 -> ProduceResponse Or Error 1 ProduceRequest 2 -> ProduceResponse Or Error 2 ProduceRequest 3 -> ProduceResponse Or Error 3 CloseProducer

func (*ProduceServer) Execute

func (p *ProduceServer) Execute() error

Execute starts the producer.

Jump to

Keyboard shortcuts

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