sharddistributor

package
v1.3.1-prerelease10 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service represents the shard distributor service

func FXService added in v1.3.1

func FXService(params ServiceParams) *Service

FXService builds a new shard distributor service

func NewService

func NewService(
	params *resource.Params,
	factory resource.ResourceFactory,
) (*Service, error)

NewService is an adapter for legacy initialization without fx.

func (*Service) Start

func (s *Service) Start()

Start starts the service

func (*Service) Stop

func (s *Service) Stop()

type ServiceParams added in v1.3.1

type ServiceParams struct {
	fx.In

	Logger            log.Logger
	MetricsClient     metrics.Client
	RPCFactory        rpc.Factory
	DynamicCollection *dynamicconfig.Collection

	Lifecycle fx.Lifecycle

	HostName string `name:"hostname"`

	MembershipRings map[string]membership.SingleProvider
}

Directories

Path Synopsis
Package handler is a generated GoMock package.
Package handler is a generated GoMock package.
leader
election
Package election is a generated GoMock package.
Package election is a generated GoMock package.
leaderstore
Package leaderstore is a generated GoMock package.
Package leaderstore is a generated GoMock package.
process
Package process is a generated GoMock package.
Package process is a generated GoMock package.
store/etcd module
store
etcd module
wrappers

Jump to

Keyboard shortcuts

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