elasticsearch

package
v0.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2019 License: MIT Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewESVisibilityManager added in v0.5.7

func NewESVisibilityManager(indexName string, esClient es.Client, 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.Client, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL