source

package
v0.0.0-...-9e81241 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTPServer HTTPServer `koanf:"http_server"`
	// TODO - add source, auth and etc configurations
	Otel                             otela.Otel      `koanf:"otel"`
	WriteKeyRedisExpiration          uint            `koanf:"write_key_expiration"`
	NewSourceEventName               string          `koanf:"new_source_event_name"`
	BufferSize                       int             `koanf:"buffersize"`
	MaxRetry                         int             `koanf:"maxretry"`
	WriteKeyValidationAddress        string          `koanf:"write_key_validation_address"`
	ScyllaDBConfig                   scylladb.Config `koanf:"scylla_db_config"`
	NewEventQueueName                string          `koanf:"new_event_queue_name"`
	UndeliveredEventRetransmitPeriod int             `koanf:"undelivered_event_retransmit_period"`
	RetryNumber                      int             `koanf:"retry_number"`
	UndeliveredEventsQueueName       string          `koanf:"undelivered_events_queue_name"`
}

Config is the main object for managing source configuration.

type HTTPServer

type HTTPServer struct {
	Port    int    `koanf:"port"`
	Network string `koanf:"network"`
}

HTTPServer is the main object for http configurations.

Jump to

Keyboard shortcuts

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