Skip to content

Commit 756377f

Browse files
committed
Fix for issue #93, explicitly call sarama.v1 -> sarama
1 parent ab28707 commit 756377f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/kafka_consumer/kafka_consumer.go

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

8+
"github.com/Shopify/sarama"
89
"github.com/influxdb/influxdb/tsdb"
910
"github.com/influxdb/telegraf/plugins"
1011
"github.com/wvanbergen/kafka/consumergroup"
11-
"gopkg.in/Shopify/sarama.v1"
1212
)
1313

1414
type Kafka struct {

plugins/kafka_consumer/kafka_consumer_test.go

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

8+
"github.com/Shopify/sarama"
89
"github.com/influxdb/telegraf/testutil"
910
"github.com/stretchr/testify/assert"
1011
"github.com/stretchr/testify/require"
11-
"gopkg.in/Shopify/sarama.v1"
1212
)
1313

1414
const testMsg = "cpu_load_short,direction=in,host=server01,region=us-west value=23422.0 1422568543702900257"

0 commit comments

Comments
 (0)