Skip to content

Commit 5c1acf0

Browse files
committed
Fixes after rebase.
1 parent 9622494 commit 5c1acf0

8 files changed

+77
-6
lines changed

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ go 1.17
55
require (
66
github.com/IBM/sarama v1.42.1
77
github.com/ThreeDotsLabs/watermill v1.2.0
8+
github.com/ThreeDotsLabs/watermill-kafka/v2 v2.5.0
89
github.com/dnwe/otelsarama v0.0.0-20231212173111-631a0a53d5d4
910
github.com/hashicorp/go-multierror v1.1.1
1011
github.com/pkg/errors v0.9.1
1112
github.com/stretchr/testify v1.8.4
1213
)
1314

1415
require (
16+
github.com/Shopify/sarama v1.38.0 // indirect
1517
github.com/davecgh/go-spew v1.1.1 // indirect
1618
github.com/eapache/go-resiliency v1.4.0 // indirect
1719
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
@@ -34,6 +36,7 @@ require (
3436
github.com/pmezard/go-difflib v1.0.0 // indirect
3537
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
3638
github.com/stretchr/objx v0.5.0 // indirect
39+
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama v0.31.0 // indirect
3740
go.opentelemetry.io/otel v1.19.0 // indirect
3841
go.opentelemetry.io/otel/metric v1.19.0 // indirect
3942
go.opentelemetry.io/otel/trace v1.19.0 // indirect

go.sum

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.

pkg/kafka/batch_message_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"time"
77

8-
"github.com/Shopify/sarama"
8+
"github.com/IBM/sarama"
99
"github.com/ThreeDotsLabs/watermill"
1010
"github.com/ThreeDotsLabs/watermill/message"
1111
)

pkg/kafka/batch_message_handler_bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/Shopify/sarama"
8+
"github.com/IBM/sarama"
99
"github.com/ThreeDotsLabs/watermill"
1010
"github.com/ThreeDotsLabs/watermill/message"
1111
"github.com/stretchr/testify/assert"

pkg/kafka/batch_message_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/Shopify/sarama"
9+
"github.com/IBM/sarama"
1010
"github.com/ThreeDotsLabs/watermill"
1111
"github.com/ThreeDotsLabs/watermill/message"
1212
"github.com/stretchr/testify/assert"

pkg/kafka/message_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"time"
66

7-
"github.com/Shopify/sarama"
7+
"github.com/IBM/sarama"
88
"github.com/ThreeDotsLabs/watermill"
99
"github.com/ThreeDotsLabs/watermill/message"
1010
"github.com/pkg/errors"

pkg/kafka/partition_concurrent_message_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"time"
66

7-
"github.com/Shopify/sarama"
7+
"github.com/IBM/sarama"
88
"github.com/ThreeDotsLabs/watermill"
99
"github.com/ThreeDotsLabs/watermill/message"
1010
)

pkg/kafka/partition_concurrent_message_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/Shopify/sarama"
8+
"github.com/IBM/sarama"
99
"github.com/ThreeDotsLabs/watermill"
1010
"github.com/ThreeDotsLabs/watermill/message"
1111
"github.com/stretchr/testify/assert"

0 commit comments

Comments
 (0)