Skip to content

Commit

Permalink
Merge pull request #11 from runreveal/alan/s3-config
Browse files Browse the repository at this point in the history
upgrade kawa for s3 changes
  • Loading branch information
abraithwaite authored Jun 25, 2024
2 parents fac0fd0 + b19091b commit 6e841ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/reveald/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ type S3Config struct {

CustomEndpoint string `json:"customEndpoint"`
AccessKeyID string `json:"accessKeyID"`
AccessSecretKey string `json:"accessSecretKey"`
SecretAccessKey string `json:"secretAccessKey"`

BatchSize int `json:"batchSize"`
}
Expand All @@ -183,7 +183,7 @@ func (c *S3Config) Configure() (kawa.Destination[types.Event], error) {
s3.WithPathPrefix(c.PathPrefix),
s3.WithCustomEndpoint(c.CustomEndpoint),
s3.WithAccessKeyID(c.AccessKeyID),
s3.WithAccessSecretKey(c.AccessSecretKey),
s3.WithSecretAccessKey(c.SecretAccessKey),
s3.WithBatchSize(c.BatchSize),
), nil
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.5

require (
github.com/carlmjohnson/requests v0.23.4
github.com/runreveal/kawa v0.1.0
github.com/runreveal/kawa v0.1.2
github.com/runreveal/lib/await v0.0.0-20231128193746-50c2ad68891c
github.com/runreveal/lib/loader v0.0.0-20231128193746-50c2ad68891c
github.com/spf13/cobra v1.7.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/runreveal/kawa v0.1.0 h1:lPLXrDlwdgEDg5LzHc7sGeGo8+LTGvUUwWlnKCJUXnU=
github.com/runreveal/kawa v0.1.0/go.mod h1:haKZS8k0rKygGcKKLN66J9E8iHdAYq5qJlprgCzFcG8=
github.com/runreveal/kawa v0.1.2 h1:ZAC/ljwyCqwljP+Y/2ol6pZw/s1wjGsIK2bKV4G0ZHU=
github.com/runreveal/kawa v0.1.2/go.mod h1:haKZS8k0rKygGcKKLN66J9E8iHdAYq5qJlprgCzFcG8=
github.com/runreveal/lib/await v0.0.0-20231128193746-50c2ad68891c h1:rZt9vvUOA1CstxYueKfaAU7zcLx5PyMSECtJGscP8wo=
github.com/runreveal/lib/await v0.0.0-20231128193746-50c2ad68891c/go.mod h1:qnRPgJExa5ziREWvAhSDMMTBSxBk9wX4D2xZBUBldmw=
github.com/runreveal/lib/loader v0.0.0-20231128193746-50c2ad68891c h1:F+kw4v9T9acZp7Ln29qlZvTRfaVMNzC6oO7To8OtATA=
Expand Down

0 comments on commit 6e841ff

Please sign in to comment.