-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(broker): export variable records to elasticsearch
- add template for variable records - export variable records by default - move helper methods to exporter configuration to check which records should be exported
- Loading branch information
Showing
6 changed files
with
100 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
exporters/elasticsearch-exporter/src/main/resources/zeebe-record-variable-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"index_patterns": [ | ||
"zeebe-record-variable_*" | ||
], | ||
"order": 20, | ||
"aliases": { | ||
"zeebe-record-variable": {} | ||
}, | ||
"mappings": { | ||
"_doc": { | ||
"properties": { | ||
"value": { | ||
"dynamic": "strict", | ||
"properties": { | ||
"name": { | ||
"type": "keyword" | ||
}, | ||
"value": { | ||
"type": "text" | ||
}, | ||
"scopeInstanceKey": { | ||
"type": "long" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters