Skip to content

Commit

Permalink
add support for a customizable schemas path
Browse files Browse the repository at this point in the history
  • Loading branch information
nanjiangshu committed Dec 9, 2024
1 parent eab57ed commit 17e9d1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sda/internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,10 @@ func (c *Config) configSchemas() {
} else {
c.Broker.SchemasPath = "/schemas/isolated/"
}

if viper.IsSet("schema.path") {
c.Broker.SchemasPath = viper.GetString("schema.path")
}
}

// configS3Storage populates and returns a S3Conf from the
Expand Down

0 comments on commit 17e9d1d

Please sign in to comment.