Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { IndexerConcurrency dynamicconfig.IntPropertyFn ESProcessorNumOfWorkers dynamicconfig.IntPropertyFn ESProcessorBulkActions dynamicconfig.IntPropertyFn // max number of requests in bulk ESProcessorBulkSize dynamicconfig.IntPropertyFn // max total size of bytes in bulk ESProcessorFlushInterval dynamicconfig.DurationPropertyFn ValidSearchAttributes dynamicconfig.MapPropertyFn EnableQueryAttributeValidation dynamicconfig.BoolPropertyFn }
Config contains all configs for indexer
type ESProcessor ¶
type ESProcessorImpl ¶ added in v1.2.1
type ESProcessorImpl struct {
// contains filtered or unexported fields
}
ESProcessorImpl implements ESProcessor, it's an agent of GenericBulkProcessor
func (*ESProcessorImpl) Add ¶ added in v1.2.1
func (p *ESProcessorImpl) Add(request *bulk.GenericBulkableAddRequest, key string, kafkaMsg messaging.Message)
Add an ES request, and an map item for kafka message
func (*ESProcessorImpl) Start ¶ added in v1.2.1
func (p *ESProcessorImpl) Start()
func (*ESProcessorImpl) Stop ¶ added in v1.2.1
func (p *ESProcessorImpl) Stop()
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer used to consumer data from kafka then send to ElasticSearch
Click to show internal directories.
Click to hide internal directories.