diff options
Diffstat (limited to 'examples/rulebooks/rulebook.yml')
-rw-r--r-- | examples/rulebooks/rulebook.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/rulebooks/rulebook.yml b/examples/rulebooks/rulebook.yml new file mode 100644 index 0000000..1f5d444 --- /dev/null +++ b/examples/rulebooks/rulebook.yml @@ -0,0 +1,19 @@ +--- +- name: Demo rules with kafka as source + hosts: localhost + sources: + - name: kafka + kafka: + topic: eda + host: localhost + port: 9092 + group_id: testing + rules: + - name: + condition: event.i is defined + action: + debug: + - name: + condition: event.stop == true + action: + shutdown: |