Skip to content

Commit

Permalink
Adding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 30, 2024
1 parent a2608b9 commit 3cb3454
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
12 changes: 7 additions & 5 deletions lib/config/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@ const (
type DestinationKind string

const (
BigQuery DestinationKind = "bigquery"
MSSQL DestinationKind = "mssql"
Redshift DestinationKind = "redshift"
S3 DestinationKind = "s3"
Snowflake DestinationKind = "snowflake"
BigQuery DestinationKind = "bigquery"
Databricks DestinationKind = "databricks"
MSSQL DestinationKind = "mssql"
Redshift DestinationKind = "redshift"
S3 DestinationKind = "s3"
Snowflake DestinationKind = "snowflake"
)

// TODO: Add Databricks to this list once it's ready
var ValidDestinations = []DestinationKind{
BigQuery,
MSSQL,
Expand Down
11 changes: 6 additions & 5 deletions lib/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ type Config struct {
Kafka *Kafka `yaml:"kafka,omitempty"`

// Supported destinations
MSSQL *MSSQL `yaml:"mssql,omitempty"`
BigQuery *BigQuery `yaml:"bigquery,omitempty"`
Snowflake *Snowflake `yaml:"snowflake,omitempty"`
Redshift *Redshift `yaml:"redshift,omitempty"`
S3 *S3Settings `yaml:"s3,omitempty"`
BigQuery *BigQuery `yaml:"bigquery,omitempty"`
Databricks *Databricks `yaml:"databricks,omitempty"`
MSSQL *MSSQL `yaml:"mssql,omitempty"`
Snowflake *Snowflake `yaml:"snowflake,omitempty"`
Redshift *Redshift `yaml:"redshift,omitempty"`
S3 *S3Settings `yaml:"s3,omitempty"`

SharedDestinationSettings SharedDestinationSettings `yaml:"sharedDestinationSettings"`
Reporting Reporting `yaml:"reporting"`
Expand Down

0 comments on commit 3cb3454

Please sign in to comment.