consumer

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumeServer

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

ConsumeServer is a ConsumeServer of log messages.

func CreateConsumeServer

func CreateConsumeServer(walManager walmanager.Manager, streamServer streamingpb.StreamingNodeHandlerService_ConsumeServer) (*ConsumeServer, error)

CreateConsumeServer create a new consumer. Expected message sequence: CreateConsumeServer: <- CreateVChannelConsumer 1 -> CreateVChannelConsuemr 1 -> ConsumeMessage 1.1 <- CreateVChannelConsumer 2 -> ConsumeMessage 1.2 -> CreateVChannelConsumer 2 -> ConsumeMessage 2.1 -> ConsumeMessage 2.2 -> ConsumeMessage 1.3 <- CloseVChannelConsumer 1 -> CloseVChannelConsumer 1 -> ConsumeMessage 2.3 <- CloseVChannelConsumer 2 -> CloseVChannelConsumer 2 CloseConsumer:

func (*ConsumeServer) Execute

func (c *ConsumeServer) Execute() error

Execute executes the consumer.

Jump to

Keyboard shortcuts

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