The command xk6 build --with github.com/grafana/xk6-output-kafka in the docs no longer works. I run it with Go 1.25.4 on my Mac and get this error message:
ERR resolving dependency: executing go command: exit status 1
After some googling, I found this article that points to another repo which is github.com/mostafa/xk6-kafka@latest and running the command from there seems to work for me