remove wal type and distinguish source between nakadi and sqs

This commit is contained in:
Felix Kunde
2021-08-25 18:15:19 +02:00
parent 2726492fd3
commit 7a84c0852c
7 changed files with 44 additions and 21 deletions
-3
View File
@@ -701,9 +701,6 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
{
Raw: []byte(`"sqs"`),
},
{
Raw: []byte(`"wal"`),
},
},
},
},
@@ -69,7 +69,7 @@ type EventStreamSource struct {
// EventStreamTable defines the name and ID column to be used for streaming
type EventStreamTable struct {
Name string `json:"name"`
IDColumn string `json:"idColumn,omitempty" defaults:"id"`
IDColumn string `json:"idColumn,omitempty"`
}
// Connection to be used for allowing the FES operator to connect to a database