Skip to content

Commit 185d24a

Browse files
authored
using github.com/IBM/sarama (#429)
* use github.com/IBM/sarama * bump go-version to 1.20
1 parent cd2141b commit 185d24a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+295
-275
lines changed

.github/workflows/install.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: install
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [ '**' ]
66
pull_request:
77
branches: [master]
8+
env:
9+
GO_VERSION: '1.20'
810

911
jobs:
1012
install_go_get:
@@ -13,7 +15,7 @@ jobs:
1315
- name: Set up Go
1416
uses: actions/setup-go@v3
1517
with:
16-
go-version: 1.18
18+
go-version: "^${{ env.GO_VERSION }}"
1719

1820
- name: Install
1921
shell: bash

.github/workflows/main.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [master]
66
pull_request:
77
branches: [master]
8+
env:
9+
GO_VERSION: '1.20'
810

911
jobs:
1012
unit:
@@ -15,7 +17,7 @@ jobs:
1517
- name: Set up Go
1618
uses: actions/setup-go@v3
1719
with:
18-
go-version: 1.18
20+
go-version: "^${{ env.GO_VERSION }}"
1921

2022
- name: Test
2123
shell: bash
@@ -30,7 +32,7 @@ jobs:
3032
- name: Set up Go
3133
uses: actions/setup-go@v3
3234
with:
33-
go-version: 1.18
35+
go-version: "^${{ env.GO_VERSION }}"
3436

3537
- name: Services
3638
shell: bash

.github/workflows/runexamples.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches: [master]
66
pull_request:
77
branches: [master]
8-
8+
env:
9+
GO_VERSION: '1.20'
910
jobs:
1011
run-examples:
1112
runs-on: ubuntu-22.04
@@ -15,7 +16,7 @@ jobs:
1516
- name: Set up Go
1617
uses: actions/setup-go@v3
1718
with:
18-
go-version: 1.18
19+
go-version: "^${{ env.GO_VERSION }}"
1920

2021
- name: Build examples
2122
shell: bash

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can install Goka by running the following command:
4141

4242
## Configuration
4343

44-
Goka relies on [Sarama](https://github.com/Shopify/sarama) to perform the actual communication with Kafka, which offers many configuration settings. The config is documented [here](https://godoc.org/github.com/Shopify/sarama#Config).
44+
Goka relies on [Sarama](https://github.com/IBM/sarama) to perform the actual communication with Kafka, which offers many configuration settings. The config is documented [here](https://godoc.org/github.com/IBM/sarama#Config).
4545

4646
In most cases, you need to modify the config, e.g. to set the Kafka Version.
4747

broker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package goka
22

3-
import "github.com/Shopify/sarama"
3+
import "github.com/IBM/sarama"
44

55
// Broker is an interface for the sarama broker
66
type Broker interface {

builders.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package goka
33
import (
44
"hash"
55

6-
"github.com/Shopify/sarama"
6+
"github.com/IBM/sarama"
77
)
88

99
// ProducerBuilder create a Kafka producer.

config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package goka
33
import (
44
"time"
55

6-
"github.com/Shopify/sarama"
6+
"github.com/IBM/sarama"
77
)
88

99
var (

config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package goka
33
import (
44
"testing"
55

6-
"github.com/Shopify/sarama"
6+
"github.com/IBM/sarama"
77
"github.com/stretchr/testify/require"
88
)
99

context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync"
88
"time"
99

10-
"github.com/Shopify/sarama"
10+
"github.com/IBM/sarama"
1111
"github.com/hashicorp/go-multierror"
1212
)
1313

context_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/Shopify/sarama"
12+
"github.com/IBM/sarama"
1313
"github.com/golang/mock/gomock"
1414
"github.com/stretchr/testify/require"
1515

copartition_strategy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"math"
66
"sort"
77

8-
"github.com/Shopify/sarama"
8+
"github.com/IBM/sarama"
99
)
1010

1111
var (

copartition_strategy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"testing"
66

7-
"github.com/Shopify/sarama"
7+
"github.com/IBM/sarama"
88
"github.com/stretchr/testify/require"
99
)
1010

doc.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:generate mockgen -self_package github.com/lovoo/goka -package goka -destination mockstorage.go github.com/lovoo/goka/storage Storage
22
//go:generate mockgen -self_package github.com/lovoo/goka -package goka -destination mocks.go github.com/lovoo/goka TopicManager,Producer,Broker
3-
//go:generate mockgen -self_package github.com/lovoo/goka -package goka -destination mockssarama.go github.com/Shopify/sarama Client,ClusterAdmin
3+
//go:generate mockgen -self_package github.com/lovoo/goka -package goka -destination mockssarama.go github.com/IBM/sarama Client,ClusterAdmin
44

55
/*
66
Package goka is a stateful stream processing library for Apache Kafka (version 0.9+) that eases
@@ -10,7 +10,7 @@ group.
1010
A microservice modifies and serves the content of a table employing two complementary object types:
1111
processors and views.
1212
13-
Processors
13+
# Processors
1414
1515
A processor is a set of callback functions that modify the group table when messages arrive and may
1616
also emit messages into other topics.
@@ -26,12 +26,11 @@ When multiple processor instances start in the same consumer group, the instance
2626
co-partitioned input topics and load the respective group table partitions from the group topic.
2727
A local disk storage minimizes recovery time by caching partitions of group table.
2828
29-
Views
29+
# Views
3030
3131
A view is a materialized (ie, persistent) cache of a group table.
3232
A view subscribes for the updates of all partitions of a group table and keeps local disk storage
3333
in sync with the group topic.
3434
With a view, one can easily serve up-to-date content of the group table via, for example, gRPC.
35-
3635
*/
3736
package goka

examples/1-simplest/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os/signal"
88
"syscall"
99

10-
"github.com/Shopify/sarama"
10+
"github.com/IBM/sarama"
1111
"github.com/lovoo/goka"
1212
"github.com/lovoo/goka/codec"
1313
)

examples/5-multiple/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"syscall"
1414
"time"
1515

16-
"github.com/Shopify/sarama"
16+
"github.com/IBM/sarama"
1717
"github.com/gorilla/mux"
1818
"github.com/hashicorp/go-multierror"
1919
"github.com/lovoo/goka"

examples/8-monitoring/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"syscall"
1515
"time"
1616

17-
"github.com/Shopify/sarama"
17+
"github.com/IBM/sarama"
1818
"github.com/gorilla/mux"
1919
"github.com/lovoo/goka"
2020
"github.com/lovoo/goka/codec"

go.mod

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
module github.com/lovoo/goka
22

3-
go 1.18
3+
go 1.20
44

55
require (
6-
github.com/Shopify/sarama v1.37.2
6+
github.com/IBM/sarama v1.40.1
77
github.com/go-stack/stack v1.8.1
88
github.com/golang/mock v1.6.0
99
github.com/gorilla/mux v1.8.0
1010
github.com/hashicorp/go-multierror v1.1.1
11-
github.com/stretchr/testify v1.8.0
11+
github.com/stretchr/testify v1.8.4
1212
github.com/syndtr/goleveldb v1.0.0
13-
golang.org/x/sync v0.1.0
13+
golang.org/x/sync v0.3.0
1414
gopkg.in/redis.v5 v5.2.9
1515
gopkg.in/yaml.v2 v2.4.0
1616
)
1717

1818
require (
1919
github.com/davecgh/go-spew v1.1.1 // indirect
2020
github.com/eapache/go-resiliency v1.3.0 // indirect
21-
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
21+
github.com/eapache/go-xerial-snappy v0.0.0-20230111030713-bf00bc1b83b6 // indirect
2222
github.com/eapache/queue v1.1.0 // indirect
2323
github.com/golang/snappy v0.0.4 // indirect
2424
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -28,13 +28,13 @@ require (
2828
github.com/jcmturner/gofork v1.7.6 // indirect
2929
github.com/jcmturner/gokrb5/v8 v8.4.3 // indirect
3030
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
31-
github.com/klauspost/compress v1.15.13 // indirect
31+
github.com/klauspost/compress v1.16.6 // indirect
3232
github.com/kr/text v0.2.0 // indirect
3333
github.com/pierrec/lz4/v4 v4.1.17 // indirect
3434
github.com/pmezard/go-difflib v1.0.0 // indirect
3535
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
3636
github.com/rogpeppe/go-internal v1.9.0 // indirect
37-
golang.org/x/crypto v0.4.0 // indirect
38-
golang.org/x/net v0.9.0 // indirect
37+
golang.org/x/crypto v0.11.0 // indirect
38+
golang.org/x/net v0.12.0 // indirect
3939
gopkg.in/yaml.v3 v3.0.1 // indirect
4040
)

go.sum

+16-19
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
github.com/Shopify/sarama v1.37.2 h1:LoBbU0yJPte0cE5TZCGdlzZRmMgMtZU/XgnUKZg9Cv4=
2-
github.com/Shopify/sarama v1.37.2/go.mod h1:Nxye/E+YPru//Bpaorfhc3JsSGYwCaDDj+R4bK52U5o=
1+
github.com/IBM/sarama v1.40.1 h1:lL01NNg/iBeigUbT+wpPysuTYW6roHo6kc1QrffRf0k=
2+
github.com/IBM/sarama v1.40.1/go.mod h1:+5OFwA5Du9I6QrznhaMHsuwWdWZNMjaBSIxEWEgKOYE=
33
github.com/Shopify/toxiproxy/v2 v2.5.0 h1:i4LPT+qrSlKNtQf5QliVjdP08GyAH8+BUIc9gT0eahc=
44
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
55
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
66
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
77
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
88
github.com/eapache/go-resiliency v1.3.0 h1:RRL0nge+cWGlxXbUzJ7yMcq6w2XBEr19dCN6HECGaT0=
99
github.com/eapache/go-resiliency v1.3.0/go.mod h1:5yPzW0MIvSe0JDsv0v+DvcjEv2FyD6iZYSs1ZI+iQho=
10-
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 h1:YEetp8/yCZMuEPMUDHG0CW/brkkEp8mzqk2+ODEitlw=
11-
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU=
10+
github.com/eapache/go-xerial-snappy v0.0.0-20230111030713-bf00bc1b83b6 h1:8yY/I9ndfrgrXUbOGObLHKBR4Fl3nZXwM2c7OYTT8hM=
11+
github.com/eapache/go-xerial-snappy v0.0.0-20230111030713-bf00bc1b83b6/go.mod h1:YvSRo5mw33fLEx1+DlK6L2VV43tJt5Eyel9n9XBcR+0=
1212
github.com/eapache/queue v1.1.0 h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc=
1313
github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
1414
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
@@ -47,8 +47,8 @@ github.com/jcmturner/gokrb5/v8 v8.4.3 h1:iTonLeSJOn7MVUtyMT+arAn5AKAPrkilzhGw8wE
4747
github.com/jcmturner/gokrb5/v8 v8.4.3/go.mod h1:dqRwJGXznQrzw6cWmyo6kH+E7jksEQG/CyVWsJEsJO0=
4848
github.com/jcmturner/rpc/v2 v2.0.3 h1:7FXXj8Ti1IaVFpSAziCZWNzbNuZmnvw/i6CqLNdWfZY=
4949
github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc=
50-
github.com/klauspost/compress v1.15.13 h1:NFn1Wr8cfnenSJSA46lLq4wHCcBzKTSjnBIexDMMOV0=
51-
github.com/klauspost/compress v1.15.13/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM=
50+
github.com/klauspost/compress v1.16.6 h1:91SKEy4K37vkp255cJ8QesJhjyRO0hn9i9G0GoUwLsk=
51+
github.com/klauspost/compress v1.16.6/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
5252
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
5353
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
5454
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
@@ -69,16 +69,17 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
6969
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
7070
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
7171
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
72-
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
7372
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
73+
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
74+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
7475
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
7576
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
7677
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
7778
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
7879
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
7980
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
80-
golang.org/x/crypto v0.4.0 h1:UVQgzMY87xqpKNgb+kDsll2Igd33HszWHFLmpaRMq/8=
81-
golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80=
81+
golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
82+
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
8283
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
8384
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
8485
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
@@ -87,15 +88,13 @@ golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLL
8788
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
8889
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
8990
golang.org/x/net v0.0.0-20220725212005-46097bf591d3/go.mod h1:AaygXjzTFtRAg2ttMY5RMuhpJ3cNnI0XpyFJD1iQRSM=
90-
golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU=
91-
golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
92-
golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM=
93-
golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
91+
golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50=
92+
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
9493
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9594
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9695
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
97-
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
98-
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
96+
golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E=
97+
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
9998
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
10099
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
101100
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -105,16 +104,14 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
105104
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
106105
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
107106
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
108-
golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ=
109-
golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
107+
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
110108
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
111109
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
112110
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
113111
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
114112
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
115113
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
116-
golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM=
117-
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
114+
golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4=
118115
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
119116
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
120117
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=

headers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package goka
22

33
import (
4-
"github.com/Shopify/sarama"
4+
"github.com/IBM/sarama"
55
)
66

77
// Headers represents custom message headers with a convenient interface.

logger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"strings"
88

9-
"github.com/Shopify/sarama"
9+
"github.com/IBM/sarama"
1010
)
1111

1212
var defaultLogger = &std{

mockautoconsumers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"sync/atomic"
99
"testing"
1010

11-
"github.com/Shopify/sarama"
11+
"github.com/IBM/sarama"
1212
"github.com/hashicorp/go-multierror"
1313
"github.com/lovoo/goka/multierr"
1414
)

0 commit comments

Comments
 (0)