mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 06:28:50 +02:00
make id and payload columns configurable
This commit is contained in:
@@ -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)]"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user