provide event stream API

completed codegen manually
provide update and compare code for fes
add db check for specified databases and tables
add unit test
This commit is contained in:
Felix Kunde
2021-07-27 19:48:34 +02:00
parent 2057ad8191
commit 1bd12961fd
33 changed files with 1779 additions and 14 deletions
+17
View File
@@ -0,0 +1,17 @@
package constants
// PostgreSQL specific constants
const (
FESsuffix = "-event-streams"
EventStreamSourcePGType = "PostgresLogicalReplication"
EventStreamSourceSlotName = "fes"
EventStreamSourceAuthType = "DatabaseAuthenticationSecret"
EventStreamFlowPgNakadiType = "PostgresWalToNakadiDataEvent"
EventStreamFlowPgApiType = "PostgresWalToApiCallHomeEvent"
EventStreamFlowDataTypeColumn = "data_type"
EventStreamFlowDataOpColumn = "data_op"
EventStreamFlowMetadataColumn = "metadata"
EventStreamFlowDataColumn = "data"
EventStreamSinkNakadiType = "Nakadi"
EventStreamSinkSqsType = "Sqs"
)