2018-09-18 09:21:57 +03:00
|
|
|
type: bulk
|
|
|
|
args:
|
2021-01-06 19:06:24 +03:00
|
|
|
|
2018-09-18 09:21:57 +03:00
|
|
|
- type: run_sql
|
|
|
|
args:
|
|
|
|
sql: |
|
|
|
|
create table hge_tests.test_t1(
|
|
|
|
c1 int,
|
2018-10-25 10:22:51 +03:00
|
|
|
c2 text
|
2018-09-18 09:21:57 +03:00
|
|
|
);
|
2021-01-06 19:06:24 +03:00
|
|
|
|
2018-09-18 09:21:57 +03:00
|
|
|
- type: track_table
|
|
|
|
args:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
- type: create_event_trigger
|
|
|
|
args:
|
2018-10-25 10:22:51 +03:00
|
|
|
name: t1_payload
|
2018-09-18 09:21:57 +03:00
|
|
|
table:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
insert:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
|
|
|
payload: '*'
|
2018-09-18 09:21:57 +03:00
|
|
|
update:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
|
|
|
payload: [c1]
|
2018-09-18 09:21:57 +03:00
|
|
|
delete:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
|
|
|
payload: [c2]
|
2018-09-18 09:21:57 +03:00
|
|
|
webhook: http://127.0.0.1:5592
|
|
|
|
retry_conf:
|
|
|
|
num_retries: 10
|
|
|
|
interval_sec: 100
|