Comments (8)
@mostafa amazing, we tested it and it works
Thank you for the taking care of it 🙇🏻
from xk6-kafka.
Sure! once there is an image I can test it
from xk6-kafka.
Hey @mostafa, I've tested it on my ARM machine and it worked fine.
I just used the following command: docker build --platform linux/arm64 --build-arg "VERSION_TAG=v0.23.1" --build-arg "K6_BINARY=dist/xk6-kafka_v0.23.1_linux_arm64" --tag xk6-kafka:v0.23.1 .
instead of your original one
from xk6-kafka.
Hey @guyarb,
That is absolutely possible, yet I don't have a machine to test that. Is that something you'd be willing to do? Let me know if you need anything.
from xk6-kafka.
Hey @guyarb,
Run these commands on your machine to see if the resulting image works for you. Considering that you have Go 1.22 installed and available on your $PATH
:
git clone [email protected]:mostafa/xk6-kafka.git && cd xk6-kafka
mkdir dist
go install go.k6.io/xk6/cmd/xk6@latest
GOOS=linux GOARCH=arm64 xk6 build --output dist/xk6-kafka_v0.23.1_linux_arm64 --with github.com/mostafa/[email protected]=.
docker build --platform linux/arm64 --build-arg "VERSION_TAG=v0.23.1" --tag xk6-kafka:v0.23.1 .
docker image inspect $(docker images -q xk6-kafka) | jq '.[] | .Architecture' # SHOULD PRINT "arm64"
docker run --rm -i xk6-kafka:v0.23.1 run - <scripts/test_json.js # THIS SHOULD WORK
If all the above commands work as expected on your machine, I'll merge this PR and release a multi-platform image that you can use.
from xk6-kafka.
Forgot to mention that you should also switch to the branch to test the changes. But that's okay. I'll try to release a version to see if it works. If not, I'll fix it and release another version.
from xk6-kafka.
@guyarb @DanielLavie
Now the arm64 image is available on Docker Hub. Please test it.
from xk6-kafka.
@guyarb Perfect! Glad it was helpful.
from xk6-kafka.
Related Issues (20)
- Creating Connection object failed on `EOF` HOT 1
- Adding support for K6 0.49.0 HOT 3
- 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.