Documentation ¶
Index ¶
- func NewESVisibilityManager(indexName string, esClient es.GenericClient, config *config.VisibilityConfig, ...) p.VisibilityManager
- func NewElasticSearchVisibilityStore(esClient es.GenericClient, index string, producer messaging.Producer, ...) p.VisibilityStore
- func NewVisibilityMetricsClient(persistence p.VisibilityManager, metricClient metrics.Client, ...) p.VisibilityManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewESVisibilityManager ¶ added in v0.5.7
func NewESVisibilityManager(indexName string, esClient es.GenericClient, config *config.VisibilityConfig, producer messaging.Producer, metricsClient metrics.Client, log log.Logger) p.VisibilityManager
NewESVisibilityManager create a visibility manager for ElasticSearch In history, it only needs kafka producer for writing data; In frontend, it only needs ES client and related config for reading data
func NewElasticSearchVisibilityStore ¶ added in v0.5.7
func NewElasticSearchVisibilityStore( esClient es.GenericClient, index string, producer messaging.Producer, config *config.VisibilityConfig, logger log.Logger, ) p.VisibilityStore
NewElasticSearchVisibilityStore create a visibility store connecting to ElasticSearch
func NewVisibilityMetricsClient ¶
func NewVisibilityMetricsClient(persistence p.VisibilityManager, metricClient metrics.Client, logger log.Logger) p.VisibilityManager
NewVisibilityMetricsClient wrap visibility client with metrics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.