Comments (15)
@mostafa i will use the same version for xk6 and k6 that i am using in local.
will update once i have done this, if issue persists
from xk6-kafka.
@mostafa i am using the same ./k6 version in dev, and have the docker image also the way it is mentioned in this doc.
still i get this error
from xk6-kafka.
There are two reasons I can think of:
- You are using a PKCS#12-encoded keystore or some other supported format, which is not supported by keystore-go and hence xk6-kafka.
- Your file is corrupt.
from xk6-kafka.
There are two reasons I can think of:
- You are using a PKCS#12-encoded keystore or some other supported format, which is not supported by keystore-go and hence xk6-kafka.
- Your file is corrupt.
@mostafa the same script and files are working as expected in my local, but giving the above error in dev env
from xk6-kafka.
In which dev env? Are you using the same exact version of xk6-kafka? Can you run k6 version
to see the build info?
from xk6-kafka.
@mostafa
my local has
arpita.sood@MMDVD9TJQR30M ~ % k6 version
k6 v0.45.0 ((devel), go1.20.5, darwin/arm64)
dev env has / # k6 version
k6 v0.44.1 ((devel), go1.20.5, linux/amd64)
from xk6-kafka.
You are using an older version of k6 on dev env. Also, you didn't list the plugin version info.
from xk6-kafka.
k6 version lists them by default:
./k6 version
k6 v0.45.0 ((devel), go1.20, linux/amd64)
Extensions:
github.com/mostafa/xk6-kafka v0.19.0, k6/x/kafka [js]
from xk6-kafka.
@mostafa
local
arpita.sood@MMDVD9TJQR30M ~ % ./k6 version
k6 v0.44.1 ((devel), go1.20.5, darwin/arm64)
Extensions:
github.com/mostafa/xk6-kafka v0.18.1, k6/x/kafka [js]
dev
/ # k6 version
k6 v0.44.1 ((devel), go1.20.5, linux/amd64)
Extensions:
github.com/grafana/xk6-kafka (devel), k6/x/kafka [js]
from xk6-kafka.
@arpitaso
Use the latest version of k6 and xk6-kafka on your dev env.
from xk6-kafka.
@mostafa
the configuration for k6 and xk6 in dev and local is below
local
arpita.sood@MMDVD9TJQR30M ~ % k6 version
k6 v0.45.0 ((devel), go1.20.5, darwin/arm64)
arpita.sood@MMDVD9TJQR30M ~ % ./k6 version
k6 v0.44.1 ((devel), go1.20.5, darwin/arm64)
Extensions:
github.com/mostafa/xk6-kafka v0.18.1, k6/x/kafka [js]
dev
/ # k6 version
k6 v0.44.1 ((devel), go1.20.5, linux/amd64)
Extensions:
github.com/grafana/xk6-kafka (devel), k6/x/kafka [js]
i see in my local i have extension as github.com/mostafa/xk6-kafka v0.18.1, k6/x/kafka [js] but in dev the extension is github.com/grafana/xk6-kafka (devel), k6/x/kafka [js]
- could this be the reason behind the script not running in dev?
- do i have to use the same extension ( github.com/mostafa/xk6-kafka v0.18.1, k6/x/kafka [js]
) that i am using in local and replace the extension( github.com/grafana/xk6-kafka (devel), k6/x/kafka [js]) in dev?
from xk6-kafka.
Try running xk6 without pointing to a local copy. This will fetch the latest version from GitHub and build k6 with that. FYI, the latest version of xk6-kafka is v0.1.9.0 and k6 is v0.45.0.
xk6 build --with github.com/mostafa/xk6-kafka@latest
from xk6-kafka.
@mostafa
in my local below is the version for k6 and ./k6
arpita.sood@MMDVD9TJQR30M sre-perf-ls-test-demo % k6 version
k6 v0.45.0 ((devel), go1.20.5, darwin/arm64)
arpita.sood@MMDVD9TJQR30M sre-perf-ls-test-demo % ./k6 version
k6 v0.45.0 ((devel), go1.20.5, darwin/arm64)
Extensions:
github.com/mostafa/xk6-kafka v0.19.0, k6/x/kafka [js]
the script with above config is working as expected
in dev env k6 and ./k6 version is below
k6 version
k6 v0.45.0 ((devel), go1.20.6 linux/amd64)
Extensions:
github.com/mostafa/xk6-kafka (devel), k6/x/kafka [js]
./k6 version
k6 v0.45.0 ((devel), go1.20.6, linux/amd64)
Extensions:
github.com/mostafa/xk6-kafka (devel), k6/x/kafka [js]
even though whatever version i use in the dev env, i get (devel) in the extension but all versions are working as expected in local env.
please help here,
thanks
from xk6-kafka.
That's actually a k6 question that should be posted on https://community.k6.io. Nevertheless, you are using a compiled version of k6 in your $PATH
and your local directory. Either way, I highly recommend using the latest Docker images or binaries from here.
from xk6-kafka.
I suppose this is resolved, so I'll close it.
from xk6-kafka.
Related Issues (20)
- Creating Connection object failed on `EOF` HOT 1
- Adding support for K6 0.49.0 HOT 3
- Make docker image supports on arm HOT 8
- Incorrect reader/writer initialization in examples and description
- Wrong documentation for ReaderConfig.startOffset HOT 2
- RabbitMQ Compatibility HOT 1
- GoError: Failed to encode data, OriginalError: cannot decode textual record HOT 9
- Binary is not getting build. HOT 2
- Is there any guidance on how k6 works with complex AVRO schemas? HOT 1
- Error importing SCHEMA_TYPES enum when using index.d.ts. HOT 3
- Load test with Avro Schema that contains references throw an error HOT 2
- Reader.consume wont timeout HOT 1
- Getting tls: bad certificate error when try to write avro type message HOT 1
- Query : Avro with and without Schema Registry HOT 9
- How to come up the limit for reader.consume method? HOT 9
- Request to add authentication through oauth bearer token HOT 2
- Use of xk6-kafka with TS and webpack HOT 2
- Error serializing nullable boolean HOT 1
- Possibility to connect to AWS Glue to get SchemaRegistry data HOT 4
- Schema Registry serialized message causes SchemaRegistryException on AWS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xk6-kafka.