Skip to content

Commit

Permalink
Adding type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 25, 2024
1 parent 72a64e5 commit 87d8dd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ type Kafka struct {
DisableTLS bool `yaml:"disableTLS,omitempty"`
}

type SharedDestinationSettings struct {
// TruncateExceededValues - This will truncate exceeded values instead of replacing it with `__artie_exceeded_value`
TruncateExceededValues bool `json:"truncateExceededValues"`
}

type Config struct {
Mode Mode `yaml:"mode"`
Output constants.DestinationKind `yaml:"outputSource"`
Expand All @@ -57,6 +62,8 @@ type Config struct {
Redshift *Redshift `yaml:"redshift,omitempty"`
S3 *S3Settings `yaml:"s3,omitempty"`

SharedDestinationSettings SharedDestinationSettings `yaml:"sharedDestinationSettings"`

Reporting struct {
Sentry *Sentry `yaml:"sentry"`
}
Expand Down

0 comments on commit 87d8dd9

Please sign in to comment.