-
Notifications
You must be signed in to change notification settings - Fork 2
Preprocessors and Processors
Miguel Fernandes edited this page Feb 5, 2017
·
3 revisions
Marble comes with a set of peprocessors and processors, that could be called from a processor job using recipes.
An example recipe is shown below:
[
{
"name": "preprocessor-simple",
"options": {}
},
{
"name": "processor-simple",
"options": {
"relatedWords": [
"camera"
]
}
}
]
Each section is called after the previous one in the order they appear in the recipe. Each processor and preprocessor has its own set of configuration parameters, depending on its functions and properties. Additionally, a special section named marble-filter is used to filter messages according to their date.