broker

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: GPL-3.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 Instance added in v1.0.3

type Instance struct {
	rpc.TopicService
	// contains filtered or unexported fields
}

func NewInstance added in v1.0.3

func NewInstance(config config.BrokerConfig) *Instance

func (*Instance) CreateTopic added in v1.0.3

func (s *Instance) CreateTopic(ctx context.Context, request *pb.CreateTopicRequest) (*pb.Empty, error)

CreateTopic : when create topic called, fragment-rebalancing should be triggered

func (*Instance) DeleteTopic added in v1.0.3

func (s *Instance) DeleteTopic(ctx context.Context, request *pb.TopicRequestWithName) (*pb.Empty, error)

DeleteTopic : when delete topic called, fragment-rebalancing should be triggered

func (*Instance) Start added in v1.0.3

func (s *Instance) Start() error

func (*Instance) Stop added in v1.0.3

func (s *Instance) Stop()

Directories

Path Synopsis
cmd
cli

Jump to

Keyboard shortcuts

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