Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kawa: upgrade library, fix batcher signature #3

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ changelog:
- title: 🛠️ Bugfixes
labels:
- bug
- title: 🏗️ Dependencies
labels:
- dependencies
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

build:
runs-on:
labels: ubuntu-22.04-8c-32g
labels: OSS-Runner
steps:
- uses: actions/checkout@v3

Expand Down
3 changes: 1 addition & 2 deletions 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.0.5
github.com/runreveal/kawa v0.1.0
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 Expand Up @@ -33,7 +33,6 @@ require (
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.18.0 // indirect
Expand Down
6 changes: 2 additions & 4 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.0.5 h1:mmbkli3r3OYBZhSG90GMHmiVaNKJ4RWjssnzZ1g08fI=
github.com/runreveal/kawa v0.0.5/go.mod h1:21evUCCJwmzBw7noc2RsF1yYFMr7ml8GZ8QmZxH/t3U=
github.com/runreveal/kawa v0.1.0 h1:lPLXrDlwdgEDg5LzHc7sGeGo8+LTGvUUwWlnKCJUXnU=
github.com/runreveal/kawa v0.1.0/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 Expand Up @@ -64,8 +64,6 @@ go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1
go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691 h1:/yRP+0AN7mf5DkD3BAI6TOFnd51gEoDEb8o35jIFtgw=
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
Expand Down
1 change: 1 addition & 0 deletions internal/destinations/runreveal/runreveal.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func New(opts ...Option) *RunReveal {
}

ret.batcher = batch.NewDestination[types.Event](ret,
batch.Raise[types.Event](),
batch.FlushLength(ret.batchSize),
batch.FlushFrequency(ret.flushFreq),
batch.FlushParallelism(2),
Expand Down
Loading