Documentation ¶
Index ¶
- Constants
- func ConvertToFilteredTransformerResponse(events []transformer.TransformerEventT, filter bool) transformer.ResponseT
- func WithFeaturesRetryMaxAttempts(maxAttempts int) func(l *LifecycleManager)
- type DestStatT
- type Handle
- func (proc *Handle) IncreasePendingEvents(tablePrefix string, stats map[string]map[string]int)
- func (proc *Handle) Setup(backendConfig backendconfig.BackendConfig, ...)
- func (proc *Handle) Shutdown()
- func (proc *Handle) Start(ctx context.Context) error
- func (proc *Handle) Store(partition string, in *storeMessage)
- type LifecycleManager
- type MetricMetadata
- type Opts
- type ParametersT
- type SourceIDT
- type TrackingPlanStatT
- type WriteKeyT
Constants ¶
View Source
const ( MetricKeyDelimiter = "!<<#>>!" UserTransformation = "USER_TRANSFORMATION" DestTransformation = "DEST_TRANSFORMATION" EventFilter = "EVENT_FILTER" )
Variables ¶
This section is empty.
Functions ¶
func ConvertToFilteredTransformerResponse ¶ added in v0.1.10
func ConvertToFilteredTransformerResponse(events []transformer.TransformerEventT, filter bool) transformer.ResponseT
func WithFeaturesRetryMaxAttempts ¶ added in v1.6.0
func WithFeaturesRetryMaxAttempts(maxAttempts int) func(l *LifecycleManager)
Types ¶
type Handle ¶ added in v1.6.0
type Handle struct {
// contains filtered or unexported fields
}
Handle is a handle to the processor module
func NewHandle ¶ added in v1.6.0
func NewHandle(transformer transformer.Transformer) *Handle
func (*Handle) IncreasePendingEvents ¶ added in v1.11.0
func (*Handle) Setup ¶ added in v1.6.0
func (proc *Handle) Setup( backendConfig backendconfig.BackendConfig, gatewayDB, routerDB, batchRouterDB, readErrorDB, writeErrorDB, eventSchemaDB jobsdb.JobsDB, reporting types.Reporting, transientSources transientsource.Service, fileuploader fileuploader.Provider, rsourcesService rsources.JobService, destDebugger destinationdebugger.DestinationDebugger, transDebugger transformationdebugger.TransformationDebugger, )
Setup initializes the module
type LifecycleManager ¶ added in v0.1.10
type LifecycleManager struct { Handle *Handle ReportingI types.Reporting // need not initialize again BackendConfig backendconfig.BackendConfig Transformer transformer.Transformer // contains filtered or unexported fields }
func New ¶ added in v0.1.10
func New(ctx context.Context, clearDb *bool, gwDb, rtDb, brtDb, errDbForRead, errDBForWrite, esDB *jobsdb.HandleT, reporting types.Reporting, transientSources transientsource.Service, fileuploader fileuploader.Provider, rsourcesService rsources.JobService, destDebugger destinationdebugger.DestinationDebugger, transDebugger transformationdebugger.TransformationDebugger, opts ...Opts, ) *LifecycleManager
New creates a new Processor instance
func (*LifecycleManager) Start ¶ added in v0.1.10
func (proc *LifecycleManager) Start() error
Start starts a processor, this is not a blocking call. If the processor is not completely started and the data started coming then also it will not be problematic as we are assuming that the DBs will be up.
func (*LifecycleManager) Stop ¶ added in v0.1.10
func (proc *LifecycleManager) Stop()
Stop stops the processor, this is a blocking call.
type MetricMetadata ¶ added in v0.1.10
type MetricMetadata struct {
// contains filtered or unexported fields
}
type Opts ¶ added in v1.6.0
type Opts func(l *LifecycleManager)
func WithAdaptiveLimit ¶ added in v1.6.0
type ParametersT ¶ added in v0.1.10
type ParametersT struct { SourceID string `json:"source_id"` DestinationID string `json:"destination_id"` ReceivedAt string `json:"received_at"` TransformAt string `json:"transform_at"` MessageID string `json:"message_id"` GatewayJobID int64 `json:"gateway_job_id"` SourceTaskRunID string `json:"source_task_run_id"` SourceJobID string `json:"source_job_id"` SourceJobRunID string `json:"source_job_run_id"` EventName string `json:"event_name"` EventType string `json:"event_type"` SourceDefinitionID string `json:"source_definition_id"` DestinationDefinitionID string `json:"destination_definition_id"` SourceCategory string `json:"source_category"` RecordID interface{} `json:"record_id"` WorkspaceId string `json:"workspaceId"` }
type TrackingPlanStatT ¶ added in v0.1.10
type TrackingPlanStatT struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.