-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import github.com/IBM/sarama error #1630
Comments
Is anyone concerned about the fix? |
I think you have to use |
Thank you for your answer, I'm working on a trafik plugin, I don't know how to turn on yaegi extract in trafik, and I do have github.com/klauspost/compress/flate in my GOAPTH. So I feel like it's really a trafik bug. |
It's not a Traefik bug: only yaegi handles the load of plugins. I think your problem is the management of the dependencies of your plugins. https://github.com/traefik/plugindemo?tab=readme-ov-file#tags-and-dependencies |
Thanks for your answer. I checked how I used it according to your guidance, and it still didn't work, I called the plugin locally. I found a similar issue in a past issue, it looks like github.com/klauspost/compress updated the code, and yaegi can't parse it again. |
The following program
sample.go
triggers an unexpected resultI ran the following file and got an error.
https://github.com/IBM/sarama/tree/main/examples/consumergroup/main.go
Expected result
Got
Yaegi Version
v0.16.1
Additional Notes
No response
The text was updated successfully, but these errors were encountered: