Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type BaseConfig struct { BatchSize int `json:"batchSize"` // Single Batch Write Size - The number of records to be written in a single batch. BatchTimeout time2.Duration `json:"batchTimeout"` // Single Batch Write Timeout - The maximum time allowed for a single batch write operation. }
BaseConfig - Basic File Stream Output Configuration
func NewBaseConfig ¶
func NewBaseConfig(conf *config.JSON) (*BaseConfig, error)
NewBaseConfig - Retrieves the basic file stream output configuration from a JSON configuration.
func (*BaseConfig) GetBatchSize ¶
func (b *BaseConfig) GetBatchSize() int
GetBatchSize - Retrieves the number of records to be written in a single batch.
func (*BaseConfig) GetBatchTimeout ¶
func (b *BaseConfig) GetBatchTimeout() time.Duration
GetBatchTimeout - Retrieves the maximum time allowed for a single batch write operation.
type Config ¶
type Config interface { GetBatchSize() int // Single Batch Write Size - The number of records to be written in a single batch. GetBatchTimeout() time.Duration // Single Batch Write Timeout - The maximum time allowed for a single batch write operation. }
Config - File Stream Output Configuration
Click to show internal directories.
Click to hide internal directories.