Skip to content

Commit c3a2fee

Browse files
authored
Adds bigquery sink and retriable dequeue on an exponential backoff (#565)
* Adds bigquery sink and retriable dequeue on an exponential backoff
1 parent 801617d commit c3a2fee

File tree

14 files changed

+290
-31
lines changed

14 files changed

+290
-31
lines changed

.VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.16.5
1+
v0.17.0

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,20 +161,19 @@ Events will be sent to two sinks by default - colorized envelopes will be sent t
161161
curl -X POST "localhost:8080/webhook/io.silverton/buz/example/generic/sample/v1.0" -H 'Content-Type:application/json' -d '{"id": "10"}'
162162

163163

164-
### GET an arbitrary pixel
165-
166-
curl "localhost:8080/pixel?msg=hello&subject=world"
164+
### POST self-describing JSON
167165

166+
curl -X POST "localhost:8080/self-describing" -H 'Content-Type:application/json' -d '{"payload": {"schema": "io.silverton/buz/example/generic/sample/v1.0.json", "data": {"id": "10"}}}'
168167

169-
### GET a named (schematized) pixel
170168

171-
curl "localhost:8080/pixel/io.silverton/buz/example/generic/sample/v1.0?id=10"
169+
### GET an arbitrary pixel
172170

171+
[localhost:8080/pixel?msg=hello&subject=world](http://localhost:8080/pixel?msg=hello&subject=world)
173172

174-
### POST self-describing JSON
175173

176-
curl -X POST "localhost:8080/self-describing" -H 'Content-Type:application/json' -d '{"payload": {"schema": "io.silverton/buz/example/generic/sample/v1.0.json", "data": {"id": "10"}}}'
174+
### GET a named (schematized) pixel
177175

176+
[localhost:8080/pixel/io.silverton/buz/example/generic/sample/v1.0?id=10](http://localhost:8080/pixel/io.silverton/buz/example/generic/sample/v1.0?id=10)
178177

179178

180179
# Buz plays nicely with others

deploy/terraform/aws/lambda/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ variable "buz_domain" {
2929
variable "buz_version" {
3030
description = "The version of Buz to run."
3131
type = string
32-
default = "v0.16.5"
32+
default = "v0.17.0"
3333
}
3434

3535
variable "buz_lambda_memory_limit" {

deploy/terraform/gcp/cloud_run/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ variable "buz_domain" {
2828
variable "buz_version" {
2929
description = "The version of Buz to run."
3030
type = string
31-
default = "v0.16.5"
31+
default = "v0.17.0"
3232
}
3333

3434
variable "buz_service_timeout_seconds" {

examples/quickstart/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ x-dependency:
2020
services:
2121
buz:
2222
container_name: buz
23-
image: ghcr.io/silverton-io/buz:v0.16.3
23+
image: ghcr.io/silverton-io/buz:v0.17.0
2424
volumes:
2525
- type: bind
2626
source: ./buz/quickstart.conf.yml

go.mod

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
cloud.google.com/go/pubsub v1.30.0
7-
cloud.google.com/go/storage v1.28.1
7+
cloud.google.com/go/storage v1.29.0
88
github.com/apex/gateway/v2 v2.0.0
99
github.com/aws/aws-sdk-go v1.44.238
1010
github.com/aws/aws-sdk-go-v2 v1.14.0
@@ -39,11 +39,15 @@ require (
3939
)
4040

4141
require (
42-
cloud.google.com/go v0.110.0 // indirect
43-
cloud.google.com/go/compute v1.18.0 // indirect
42+
cloud.google.com/go v0.110.1 // indirect
43+
cloud.google.com/go/bigquery v1.51.1 // indirect
44+
cloud.google.com/go/compute v1.19.1 // indirect
4445
cloud.google.com/go/compute/metadata v0.2.3 // indirect
45-
cloud.google.com/go/iam v0.12.0 // indirect
46+
cloud.google.com/go/iam v1.0.0 // indirect
4647
github.com/ClickHouse/clickhouse-go v1.5.4 // indirect
48+
github.com/andybalholm/brotli v1.0.5 // indirect
49+
github.com/apache/arrow/go/v12 v12.0.0 // indirect
50+
github.com/apache/thrift v0.18.1 // indirect
4751
github.com/aws/aws-lambda-go v1.34.1 // indirect
4852
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.3.0 // indirect
4953
github.com/aws/aws-sdk-go-v2/credentials v1.8.0 // indirect
@@ -62,7 +66,7 @@ require (
6266
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
6367
github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58 // indirect
6468
github.com/davecgh/go-spew v1.1.1 // indirect
65-
github.com/dustin/go-humanize v1.0.0 // indirect
69+
github.com/dustin/go-humanize v1.0.1 // indirect
6670
github.com/elastic/elastic-transport-go/v8 v8.1.0 // indirect
6771
github.com/fsnotify/fsnotify v1.5.1 // indirect
6872
github.com/gin-contrib/sse v0.1.0 // indirect
@@ -74,11 +78,13 @@ require (
7478
github.com/goccy/go-json v0.10.2 // indirect
7579
github.com/gofrs/uuid v4.2.0+incompatible // indirect
7680
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
77-
github.com/golang/protobuf v1.5.2 // indirect
78-
github.com/golang/snappy v0.0.3 // indirect
81+
github.com/golang/protobuf v1.5.3 // indirect
82+
github.com/golang/snappy v0.0.4 // indirect
83+
github.com/google/flatbuffers v23.3.3+incompatible // indirect
7984
github.com/google/go-cmp v0.5.9 // indirect
85+
github.com/google/s2a-go v0.1.3 // indirect
8086
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
81-
github.com/googleapis/gax-go/v2 v2.7.1 // indirect
87+
github.com/googleapis/gax-go/v2 v2.8.0 // indirect
8288
github.com/hashicorp/go-version v1.4.0 // indirect
8389
github.com/hashicorp/hcl v1.0.0 // indirect
8490
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
@@ -93,12 +99,15 @@ require (
9399
github.com/jinzhu/now v1.1.5 // indirect
94100
github.com/jmespath/go-jmespath v0.4.0 // indirect
95101
github.com/json-iterator/go v1.1.12 // indirect
96-
github.com/klauspost/compress v1.15.9 // indirect
102+
github.com/klauspost/asmfmt v1.3.2 // indirect
103+
github.com/klauspost/compress v1.16.5 // indirect
97104
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
98105
github.com/leodido/go-urn v1.2.4 // indirect
99106
github.com/lib/pq v1.10.4 // indirect
100107
github.com/magiconair/properties v1.8.5 // indirect
101108
github.com/mattn/go-isatty v0.0.18 // indirect
109+
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect
110+
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect
102111
github.com/minio/md5-simd v1.1.2 // indirect
103112
github.com/minio/sha256-simd v1.0.0 // indirect
104113
github.com/mitchellh/mapstructure v1.4.3 // indirect
@@ -109,7 +118,7 @@ require (
109118
github.com/nats-io/nuid v1.0.1 // indirect
110119
github.com/pelletier/go-toml v1.9.4 // indirect
111120
github.com/pelletier/go-toml/v2 v2.0.7 // indirect
112-
github.com/pierrec/lz4/v4 v4.1.14 // indirect
121+
github.com/pierrec/lz4/v4 v4.1.17 // indirect
113122
github.com/pkg/errors v0.9.1 // indirect
114123
github.com/pmezard/go-difflib v1.0.0 // indirect
115124
github.com/rs/xid v1.4.0 // indirect
@@ -131,18 +140,21 @@ require (
131140
github.com/xdg-go/scram v1.0.2 // indirect
132141
github.com/xdg-go/stringprep v1.0.2 // indirect
133142
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
143+
github.com/zeebo/xxh3 v1.0.2 // indirect
134144
go.opencensus.io v0.24.0 // indirect
135145
golang.org/x/arch v0.3.0 // indirect
136146
golang.org/x/crypto v0.8.0 // indirect
137-
golang.org/x/oauth2 v0.6.0 // indirect
138-
golang.org/x/sync v0.1.0 // indirect
139-
golang.org/x/sys v0.7.0 // indirect
147+
golang.org/x/mod v0.10.0 // indirect
148+
golang.org/x/oauth2 v0.7.0 // indirect
149+
golang.org/x/sync v0.2.0 // indirect
150+
golang.org/x/sys v0.8.0 // indirect
140151
golang.org/x/text v0.9.0 // indirect
152+
golang.org/x/tools v0.8.0 // indirect
141153
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
142-
google.golang.org/api v0.114.0 // indirect
154+
google.golang.org/api v0.121.0 // indirect
143155
google.golang.org/appengine v1.6.7 // indirect
144-
google.golang.org/genproto v0.0.0-20230320184635-7606e756e683 // indirect
145-
google.golang.org/grpc v1.53.0 // indirect
156+
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
157+
google.golang.org/grpc v1.55.0 // indirect
146158
google.golang.org/protobuf v1.30.0 // indirect
147159
gopkg.in/ini.v1 v1.67.0 // indirect
148160
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)