Documentation
¶
Index ¶
- type ArchiveProcessor
- type AwsCredentials
- type AwsS3Insert
- type BatchProcessor
- type Batching
- type BenthosConfig
- type BranchConfig
- type BufferConfig
- type CompressProcessor
- type HTTPConfig
- type InputConfig
- type Inputs
- type LoggerConfig
- type NeosyncConnectionData
- type OutputAwsDynamoDB
- type OutputBrokerConfig
- type OutputConfig
- type Outputs
- type PipelineConfig
- type PooledSqlInsert
- type PooledSqlUpdate
- type ProcessorConfig
- type StreamConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveProcessor ¶
type AwsCredentials ¶
type AwsCredentials struct {
Profile string `json:"profile,omitempty" yaml:"profile,omitempty"`
Id string `json:"id,omitempty" yaml:"id,omitempty"`
Secret string `json:"secret,omitempty" yaml:"secret,omitempty"`
Token string `json:"token,omitempty" yaml:"token,omitempty"`
FromEc2Role bool `json:"from_ec2_role,omitempty" yaml:"from_ec2_role,omitempty"`
Role string `json:"role,omitempty" yaml:"role,omitempty"`
RoleExternalId string `json:"role_external_id,omitempty" yaml:"role_external_id,omitempty"`
}
type AwsS3Insert ¶
type AwsS3Insert struct {
Bucket string `json:"bucket" yaml:"bucket"`
MaxInFlight int `json:"max_in_flight" yaml:"max_in_flight"`
Path string `json:"path" yaml:"path"`
Batching *Batching `json:"batching,omitempty" yaml:"batching,omitempty"`
Region string `json:"region,omitempty" yaml:"region,omitempty"`
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
Credentials *AwsCredentials `json:"credentials,omitempty" yaml:"credentials,omitempty"`
}
type BatchProcessor ¶
type BatchProcessor struct {
Archive *ArchiveProcessor `json:"archive,omitempty" yaml:"archive,omitempty"`
Compress *CompressProcessor `json:"compress,omitempty" yaml:"compress,omitempty"`
}
type Batching ¶
type Batching struct {
Count int `json:"count" yaml:"count"`
ByteSize int `json:"byte_size" yaml:"byte_size"`
Period string `json:"period" yaml:"period"`
Check string `json:"check" yaml:"check"`
Processors []*BatchProcessor `json:"processors" yaml:"processors"`
}
type BenthosConfig ¶
type BenthosConfig struct {
// HTTP HTTPConfig `json:"http" yaml:"http"`
StreamConfig `json:",inline" yaml:",inline"`
}
type BranchConfig ¶ added in v0.4.30
type BranchConfig struct {
Processors []ProcessorConfig `json:"processors" yaml:"processors"`
RequestMap *string `json:"request_map,omitempty" yaml:"request_map,omitempty"`
ResultMap *string `json:"result_map,omitempty" yaml:"result_map,omitempty"`
}
type BufferConfig ¶
type BufferConfig struct{}
type CompressProcessor ¶
type CompressProcessor struct {
Algorithm string `json:"algorithm" yaml:"algorithm"`
}
type HTTPConfig ¶
type InputConfig ¶
type Inputs ¶
type Inputs struct {
NeosyncConnectionData *NeosyncConnectionData `json:"neosync_connection_data,omitempty" yaml:"neosync_connection_data,omitempty"`
}
type LoggerConfig ¶ added in v0.4.30
type NeosyncConnectionData ¶
type NeosyncConnectionData struct {
ApiKey *string `json:"api_key,omitempty" yaml:"api_key,omitempty"`
ApiUrl string `json:"api_url" yaml:"api_url"`
ConnectionId string `json:"connection_id" yaml:"connection_id"`
ConnectionType string `json:"connection_type" yaml:"connection_type"`
JobId *string `json:"job_id,omitempty" yaml:"job_id,omitempty"`
JobRunId *string `json:"job_run_id,omitempty" yaml:"job_run_id,omitempty"`
Schema string `json:"schema" yaml:"schema"`
Table string `json:"table" yaml:"table"`
}
type OutputAwsDynamoDB ¶ added in v0.4.54
type OutputAwsDynamoDB struct {
Table string `json:"table" yaml:"table"`
JsonMapColumns map[string]string `json:"json_map_columns,omitempty" yaml:"json_map_columns,omitempty"`
Region string `json:"region,omitempty" yaml:"region,omitempty"`
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
Credentials *AwsCredentials `json:"credentials,omitempty" yaml:"credentials,omitempty"`
MaxInFlight *int `json:"max_in_flight,omitempty" yaml:"max_in_flight,omitempty"`
Batching *Batching `json:"batching,omitempty" yaml:"batching,omitempty"`
}
type OutputBrokerConfig ¶
type OutputConfig ¶
type OutputConfig struct {
Label string `json:"label" yaml:"label"`
Outputs `json:",inline" yaml:",inline"`
Processors []ProcessorConfig `json:"processors,omitempty" yaml:"processors,omitempty"`
}
type Outputs ¶
type Outputs struct {
PooledSqlInsert *PooledSqlInsert `json:"pooled_sql_insert,omitempty" yaml:"pooled_sql_insert,omitempty"`
PooledSqlUpdate *PooledSqlUpdate `json:"pooled_sql_update,omitempty" yaml:"pooled_sql_update,omitempty"`
AwsS3 *AwsS3Insert `json:"aws_s3,omitempty" yaml:"aws_s3,omitempty"`
AwsDynamoDB *OutputAwsDynamoDB `json:"aws_dynamodb,omitempty" yaml:"aws_dynamodb,omitempty"`
}
type PipelineConfig ¶
type PipelineConfig struct {
Threads int `json:"threads" yaml:"threads"`
Processors []ProcessorConfig `json:"processors" yaml:"processors"`
}
type PooledSqlInsert ¶ added in v0.4.30
type PooledSqlInsert struct {
Driver string `json:"driver" yaml:"driver"`
Dsn string `json:"dsn" yaml:"dsn"`
Schema string `json:"schema" yaml:"schema"`
Table string `json:"table" yaml:"table"`
Columns []string `json:"columns" yaml:"columns"`
OnConflictDoNothing bool `json:"on_conflict_do_nothing" yaml:"on_conflict_do_nothing"`
TruncateOnRetry bool `json:"truncate_on_retry" yaml:"truncate_on_retry"`
ArgsMapping string `json:"args_mapping" yaml:"args_mapping"`
Batching *Batching `json:"batching,omitempty" yaml:"batching,omitempty"`
}
type PooledSqlUpdate ¶ added in v0.4.30
type PooledSqlUpdate struct {
Driver string `json:"driver" yaml:"driver"`
Dsn string `json:"dsn" yaml:"dsn"`
Schema string `json:"schema" yaml:"schema"`
Table string `json:"table" yaml:"table"`
Columns []string `json:"columns" yaml:"columns"`
WhereColumns []string `json:"where_columns" yaml:"where_columns"`
ArgsMapping string `json:"args_mapping" yaml:"args_mapping"`
Batching *Batching `json:"batching,omitempty" yaml:"batching,omitempty"`
}
type ProcessorConfig ¶
type ProcessorConfig struct {
}
type StreamConfig ¶
type StreamConfig struct {
Logger *LoggerConfig `json:"logger" yaml:"logger,omitempty"`
Input *InputConfig `json:"input" yaml:"input"`
Buffer *BufferConfig `json:"buffer,omitempty" yaml:"buffer,omitempty"`
Pipeline *PipelineConfig `json:"pipeline" yaml:"pipeline"`
Output *OutputConfig `json:"output" yaml:"output"`
}
Click to show internal directories.
Click to hide internal directories.