application

package module
v0.0.0-...-3d1347b Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AckConsumeInternal

func AckConsumeInternal(r RpcInterface, req *pb.AckConsumeRequest) (*pb.AckConsumeResponse, error)

func ConsumeInternal

func ConsumeInternal(r RpcInterface, req *pb.ConsumeRequest) (*pb.ConsumeResponse, error)

func GetMetaInternal

func GetMetaInternal(r RpcInterface, req *pb.GetMetaRequest) (*pb.GetMetaResponse, error)

func PublishMessagesInternal

func PublishMessagesInternal(r RpcInterface, req *pb.PublishMessageRequest) ([]*pb.Message, error)

Types

type RpcInterface

type RpcInterface struct {
	NodeState *fsm.NodeState
	Raft      *raft.Raft
	pb.UnimplementedMessageServiceServer
}

func (RpcInterface) AckConsume

func (RpcInterface) Consume

func (RpcInterface) CreateConsumerGroup

func (RpcInterface) CreateTopic

func (RpcInterface) GetConsumerGroups

func (RpcInterface) GetMeta

func (RpcInterface) PublishMessages

Directories

Path Synopsis
fsm
proto module

Jump to

Keyboard shortcuts

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