Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Oct 9, 2024
1 parent ef5ec04 commit 5cc5ea9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ type StreamingSettings struct {

type MongoDB struct {
URI string `yaml:"uri"`
Host string `yaml:"host"`
Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"`
Database string `yaml:"database"`
Collections []Collection `yaml:"collections"`
StreamingSettings StreamingSettings `yaml:"streamingSettings,omitempty"`
DisableTLS bool `yaml:"disableTLS,omitempty"`

// Deprecated - use [MongoDB.URI] instead
Host string `yaml:"host"`
Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"`

// DisableFullDocumentBeforeChange - This is relevant if you're connecting to Document DB.
// BSON field '$changeStream.fullDocumentBeforeChange' is an unknown field.
DisableFullDocumentBeforeChange bool `yaml:"disableFullDocumentBeforeChange,omitempty"`
Expand Down

0 comments on commit 5cc5ea9

Please sign in to comment.