File tree Expand file tree Collapse file tree 11 files changed +121
-37
lines changed
Expand file tree Collapse file tree 11 files changed +121
-37
lines changed Original file line number Diff line number Diff line change 55 "os"
66 "strings"
77
8+ confluent "github.com/confluentinc/confluent-kafka-go/kafka"
89 "github.com/raystack/raccoon/config/util"
910 "github.com/spf13/viper"
10- confluent "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka"
1111)
1212
1313var PublisherKafka publisherKafka
Original file line number Diff line number Diff line change @@ -3,15 +3,13 @@ module github.com/raystack/raccoon
33go 1.14
44
55require (
6- github.com/confluentinc/confluent-kafka-go v1.4.2 // indirect
6+ github.com/confluentinc/confluent-kafka-go v1.9.3 -RC3
77 github.com/gorilla/mux v1.7.4
88 github.com/gorilla/websocket v1.4.2
99 github.com/sirupsen/logrus v1.6.0
1010 github.com/spf13/viper v1.7.0
11- github.com/stretchr/testify v1.7.0
12- golang.org/x/sys v0.0.0-20211109184856-51b60fd695b3 // indirect
13- google.golang.org/grpc v1.41.0
11+ github.com/stretchr/testify v1.7.1
12+ google.golang.org/grpc v1.46.0
1413 google.golang.org/protobuf v1.31.0
1514 gopkg.in/alexcesaro/statsd.v2 v2.0.0
16- gopkg.in/confluentinc/confluent-kafka-go.v1 v1.4.2
1715)
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ import (
1313 "testing"
1414 "time"
1515
16+ "github.com/confluentinc/confluent-kafka-go/kafka"
1617 "github.com/gorilla/websocket"
1718 pb "github.com/raystack/raccoon/proto"
1819 "github.com/stretchr/testify/assert"
1920 "google.golang.org/grpc"
2021 "google.golang.org/grpc/metadata"
2122 "google.golang.org/protobuf/proto"
2223 "google.golang.org/protobuf/types/known/timestamppb"
23- "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka"
2424)
2525
2626var uuid string
Original file line number Diff line number Diff line change 11package publisher
22
33import (
4- "gopkg.in /confluentinc/confluent-kafka-go.v1 /kafka"
4+ "github.com /confluentinc/confluent-kafka-go/kafka"
55)
66
77type Client interface {
Original file line number Diff line number Diff line change 55 "fmt"
66 "strings"
77
8- "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka"
9- // Importing librd to make it work on vendor mode
10- _ "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka/librdkafka"
8+ "github.com/confluentinc/confluent-kafka-go/kafka"
119
1210 "github.com/raystack/raccoon/config"
1311 "github.com/raystack/raccoon/logger"
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import (
55 "os"
66 "testing"
77
8+ "github.com/confluentinc/confluent-kafka-go/kafka"
89 "github.com/raystack/raccoon/logger"
910 pb "github.com/raystack/raccoon/proto"
1011 "github.com/stretchr/testify/assert"
1112 "github.com/stretchr/testify/mock"
12- "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka"
1313)
1414
1515const (
Original file line number Diff line number Diff line change 11package publisher
22
33import (
4+ "github.com/confluentinc/confluent-kafka-go/kafka"
45 "github.com/stretchr/testify/mock"
5- "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka"
66)
77
88type mockClient struct {
Original file line number Diff line number Diff line change 1- v0.1.4
1+ v0.2.1
Original file line number Diff line number Diff line change 11package worker
22
33import (
4+ kafka "github.com/confluentinc/confluent-kafka-go/kafka"
45 pb "github.com/raystack/raccoon/proto"
56 mock "github.com/stretchr/testify/mock"
6- kafka "gopkg.in/confluentinc/confluent-kafka-go.v1/kafka"
77)
88
99// KafkaProducer is an autogenerated mock type for the KafkaProducer type
You can’t perform that action at this time.
0 commit comments