Skip to content

Unable to build with xk6-kafka extension as it's require higher go lang version #154

Closed
@bsramin

Description

@bsramin

Hi!
Docker image still uses go lang v1.23.6 but the latest version of xk6-kafka requires go lang version >= 1.24

It would be nice if the version could be bumped.

docker run --rm -it -e GOOS=darwin -u "$(id -u):$(id -g)" -v "${PWD}:/xk6" grafana/xk6 build v0.57.0  --with github.com/mostafa/xk6-kafka
2025/03/18 18:23:59 INFO importing extensions
2025/03/18 18:23:59 INFO adding dependency github.com/mostafa/xk6-kafka@latest
go: downloading github.com/mostafa/xk6-kafka v0.31.5
go: github.com/mostafa/[email protected] requires go >= 1.24 (running go 1.23.6; GOTOOLCHAIN=local)
2025/03/18 18:24:00 INFO Cleaning up work directory /tmp/k6foundry486316975
2025/03/18 18:24:00 ERROR build error resolving dependency: executing go command: exit status 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions