Used for storing exchanges in the Elasticsearch.
Explanation:
Elasticsearch 7 is required. Exchanges can be viewed in admin console and using standard Elasticsearch tools. Before writing, this class will check if index exists in current Elasticsearch instance. If index does not exist, it will create index and set up mapping for data types. If the existing index already have mapping this step will be skipped in order to not to overwrite existing mapping.
Attributes
| Name | Required | Default | Description | Examples |
|---|
| bodyExceedingMaxSizeStrategy | false | TRUNCATE | The strategy to use (TRUNCATE or ERROR) when a HTTP message body is larger than the maxBodySize. | - |
| client | false | - | - | - |
| documentPrefix | false | set to hostname as default | used for issuer field. Can be used to check which membrane instance is writing current exchange | - |
| index | false | membrane | index name to use for Elasticsearch | - |
| location | false | http://localhost:9200 | base URL of Elasticsearch | - |
| maxBodySize | false | 100000 | - | - |
| updateIntervalMs | false | - | - | - |
Can be used in