make id and payload columns configurable

This commit is contained in:
Felix Kunde
2021-12-02 17:31:31 +01:00
parent 837969ed76
commit bde522ba2a
9 changed files with 101 additions and 34 deletions
+6 -2
View File
@@ -200,8 +200,12 @@ spec:
# streams:
# - database: foo
# tables:
# data.ta: event_type_a
# data.tb: event_type_b
# data.ta:
# eventType: event_type_a
# data.tb:
# eventType: event_type_b
# idColumn: tb_id
# payloadColumn: tb_payload
# # Optional. Filter ignores events before a certain txnId and lsn. Can be used to skip bad events
# filter:
# data.ta: "[?(@.source.txId > 500 && @.source.lsn > 123456)]"
+10 -1
View File
@@ -487,7 +487,16 @@ spec:
tables:
type: object
additionalProperties:
type: string
type: object
required:
- evenType
properties:
eventType:
type: string
idColumn:
type: string
payloadColumn:
type: string
teamId:
type: string
tls: