Help us shape the future of Go! Take the 2026 Go Developer Survey

parquetconverter

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Config

type Config struct {
	MetaSyncConcurrency int           `yaml:"meta_sync_concurrency"`
	ConversionInterval  time.Duration `yaml:"conversion_interval"`
	MaxRowsPerRowGroup  int           `yaml:"max_rows_per_row_group"`
	FileBufferEnabled   bool          `yaml:"file_buffer_enabled"`

	DataDir string `yaml:"data_dir"`

	Ring RingConfig `yaml:"ring"`
}

func (*Config) RegisterFlags

func (cfg *Config) RegisterFlags(f *flag.FlagSet)

type Converter

type Converter struct {
	services.Service
	// contains filtered or unexported fields
}

func NewConverter

func NewConverter(cfg Config, storageCfg cortex_tsdb.BlocksStorageConfig, blockRanges []int64, logger log.Logger, registerer prometheus.Registerer, limits *validation.Overrides) (*Converter, error)

type RingConfig

type RingConfig struct {
	KVStore          kv.Config     `yaml:"kvstore"`
	HeartbeatPeriod  time.Duration `yaml:"heartbeat_period"`
	HeartbeatTimeout time.Duration `yaml:"heartbeat_timeout"`
	AutoForgetDelay  time.Duration `yaml:"auto_forget_delay"`

	// Instance details
	InstanceID     string `yaml:"instance_id" doc:"hidden"`
	InstancePort   int    `yaml:"instance_port" doc:"hidden"`
	InstanceAddr   string `yaml:"instance_addr" doc:"hidden"`
	TokensFilePath string `yaml:"tokens_file_path"`

	// Injected internally
	ListenPort int `yaml:"-"`
}

func (*RingConfig) RegisterFlags

func (cfg *RingConfig) RegisterFlags(f *flag.FlagSet)

func (*RingConfig) ToLifecyclerConfig

func (cfg *RingConfig) ToLifecyclerConfig() ring.LifecyclerConfig

Jump to

Keyboard shortcuts

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