Skip to content

Commit c29421b

Browse files
committed
chore(build): switch to IBM/sarama
1 parent eebc15a commit c29421b

File tree

18 files changed

+74
-38
lines changed

18 files changed

+74
-38
lines changed

component/loki/source/azure_event_hubs/azure_event_hubs.go

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

9-
"github.com/Shopify/sarama"
9+
"github.com/IBM/sarama"
1010
"github.com/go-kit/log/level"
1111
"github.com/grafana/agent/component"
1212
"github.com/grafana/agent/component/common/loki"

component/loki/source/azure_event_hubs/internal/parser/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"time"
1313

14-
"github.com/Shopify/sarama"
14+
"github.com/IBM/sarama"
1515
"github.com/grafana/agent/component/common/loki"
1616
"github.com/grafana/loki/pkg/logproto"
1717
"github.com/prometheus/common/model"

component/loki/source/azure_event_hubs/internal/parser/parser_test.go

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

10-
"github.com/Shopify/sarama"
10+
"github.com/IBM/sarama"
1111
"github.com/prometheus/common/model"
1212
"github.com/prometheus/prometheus/model/relabel"
1313
"github.com/stretchr/testify/assert"

component/loki/source/internal/kafkatarget/authentication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/xdg-go/scram"
1212
)
1313

14-
// copied from https://github.com/Shopify/sarama/blob/44627b731c60bb90efe25573e7ef2b3f8df3fa23/examples/sasl_scram_client/scram_client.go
14+
// copied from https://github.com/IBM/sarama/blob/44627b731c60bb90efe25573e7ef2b3f8df3fa23/examples/sasl_scram_client/scram_client.go
1515
var (
1616
SHA256 scram.HashGeneratorFcn = sha256.New
1717
SHA512 scram.HashGeneratorFcn = sha512.New

component/loki/source/internal/kafkatarget/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package kafkatarget
22

33
import (
4-
"github.com/Shopify/sarama"
4+
"github.com/IBM/sarama"
55
"github.com/grafana/agent/component/common/loki"
66
"github.com/grafana/dskit/flagext"
77
promconfig "github.com/prometheus/common/config"

component/loki/source/internal/kafkatarget/consumer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"sync"
1111
"time"
1212

13-
"github.com/Shopify/sarama"
13+
"github.com/IBM/sarama"
1414
"github.com/go-kit/log"
1515
"github.com/go-kit/log/level"
1616
"github.com/grafana/dskit/backoff"

component/loki/source/internal/kafkatarget/consumer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/Shopify/sarama"
13+
"github.com/IBM/sarama"
1414
"github.com/go-kit/log"
1515
"github.com/prometheus/common/model"
1616
"github.com/stretchr/testify/require"

component/loki/source/internal/kafkatarget/kafkatarget.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"fmt"
99
"time"
1010

11-
"github.com/Shopify/sarama"
11+
"github.com/IBM/sarama"
1212
"github.com/go-kit/log"
1313
"github.com/go-kit/log/level"
1414
"github.com/grafana/agent/component/common/loki"

component/loki/source/internal/kafkatarget/kafkatarget_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
"github.com/grafana/agent/component/common/loki/client/fake"
1515

16-
"github.com/Shopify/sarama"
16+
"github.com/IBM/sarama"
1717
"github.com/prometheus/common/model"
1818
"github.com/prometheus/prometheus/model/relabel"
1919
"github.com/stretchr/testify/require"

component/loki/source/internal/kafkatarget/oauth_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/Azure/azure-sdk-for-go/sdk/azcore"
99
"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
1010
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
11-
"github.com/Shopify/sarama"
11+
"github.com/IBM/sarama"
1212
)
1313

1414
func NewOAuthProvider(opts OAuthConfig) (sarama.AccessTokenProvider, error) {

0 commit comments

Comments
 (0)