File tree Expand file tree Collapse file tree 10 files changed +316
-47
lines changed Expand file tree Collapse file tree 10 files changed +316
-47
lines changed Original file line number Diff line number Diff line change 11# xk6-output-kafka
2- Is extracted the original [ kafka output] ( https://k6.io/docs/results-visualization/apache-kafka ) from [ k6] ( https://github.com/loadimpact /k6 ) so it can be used with [ xk6] ( https://github.com/k6io/xk6 ) .
2+ Is extracted the original [ kafka output] ( https://k6.io/docs/results-visualization/apache-kafka ) from [ k6] ( https://github.com/k6io /k6 ) so it can be used with [ xk6] ( https://github.com/k6io/xk6 ) .
33
44</div >
55
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ require (
77 github.com/influxdata/influxdb1-client v0.0.0-20190402204710-8ff2fc3824fc
88 github.com/kelseyhightower/envconfig v1.4.0
99 github.com/kubernetes/helm v2.9.0+incompatible
10- github.com/loadimpact/k6 v0.31.1
11- github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
12- github.com/sirupsen/logrus v1.6 .0
13- github.com/stretchr/testify v1.2.2
10+ github.com/mitchellh/mapstructure v1.1.2
11+ github.com/sirupsen/logrus v1.8.1
12+ github.com/stretchr/testify v1.7 .0
13+ go.k6.io/k6 v0.31.2-0.20210511090412-61f464b99a2d
1414 gopkg.in/guregu/null.v3 v3.3.0
1515)
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import (
2828 "github.com/Shopify/sarama"
2929 "github.com/sirupsen/logrus"
3030
31- "github.com/loadimpact /k6/output"
32- "github.com/loadimpact /k6/stats"
31+ "go.k6.io /k6/output"
32+ "go.k6.io /k6/stats"
3333)
3434
3535// Collector implements the lib.Collector interface and should be used only for testing
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ import (
3030 "github.com/stretchr/testify/require"
3131 "gopkg.in/guregu/null.v3"
3232
33- "github.com/loadimpact /k6/lib/testutils"
34- "github.com/loadimpact /k6/output"
35- "github.com/loadimpact /k6/stats"
33+ "go.k6.io /k6/lib/testutils"
34+ "go.k6.io /k6/output"
35+ "go.k6.io /k6/stats"
3636)
3737
3838func TestRun (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import (
2929 "github.com/mitchellh/mapstructure"
3030 "gopkg.in/guregu/null.v3"
3131
32- "github.com/loadimpact /k6/lib/types"
32+ "go.k6.io /k6/lib/types"
3333)
3434
3535// Config is the config for the kafka collector
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import (
3030 "github.com/stretchr/testify/require"
3131 "gopkg.in/guregu/null.v3"
3232
33- "github.com/loadimpact /k6/lib/types"
33+ "go.k6.io /k6/lib/types"
3434)
3535
3636func TestConfigParseArg (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ import (
2626 "strings"
2727
2828 client "github.com/influxdata/influxdb1-client/v2"
29- "github.com/loadimpact /k6/lib/types"
30- "github.com/loadimpact /k6/stats"
29+ "go.k6.io /k6/lib/types"
30+ "go.k6.io /k6/stats"
3131 "github.com/mitchellh/mapstructure"
3232 "github.com/sirupsen/logrus"
3333)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ package kafka
2323import (
2424 "time"
2525
26- "github.com/loadimpact /k6/stats"
26+ "go.k6.io /k6/stats"
2727)
2828
2929// wrapSample is used to package a metric sample in a way that's nice to export
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package kafka
22
33import (
44 "github.com/k6io/xk6-output-kafka/pkg/kafka"
5- "github.com/loadimpact /k6/output"
5+ "go.k6.io /k6/output"
66)
77
88func init () {
You can’t perform that action at this time.
0 commit comments