downgrade sarama to v1.45.2#7248
Conversation
|
@ansidev could you check if the previous sarama release works for you? https://github.com/IBM/sarama/releases/tag/v1.45.2 |
As I have mentioned in #7222 (comment), it seems that has been required because of I downgraded |
|
I see. Thanks for checking this! update: just read #7222 (comment) and I think
Do you know if downgrading is equal to taking the previous revision, and applying [email protected] instead of the latest? |
|
Just checked, v1.45.2 does not bring -deprecated. This happens only after switching to v1.46: |
This reverts commit b9d23d9.
354a6b1 to
1150975
Compare
|
@ansidev re the deprecated dependenc:
as far as I can tell the Regarding |
v1.45.2 doesn't bring -deprecated packages and should still work.
1150975 to
37d64ef
Compare
|
The “landmine” seems to have been primed with honnef.co/go/[email protected] which just so happened to add an import to As long as all the other packages never depended on So, here, it was not actually the update of sarama itself, but of |
hey, appreciate your taking a look at this and the fast response, I did a quick dig around and saw that expect was being pulled in through However, I saw a very large amount of unit tests break when we pulled it in to a large go monorepo, forcing probably a few days of investigation at the very least. The Unit test failures were very much centred around kafka message publishing behaviour, but since they were from a team like 5 layers away from where I am in the stack I didn't spend a huge amount of time determining if they were just terrible tests which had managed to rely on internal implementation details or a genuine issue. Once I have a little more time next week I can probably dig around and try and see. For now, just due to the likely load on some service-owners we just bumped it back a version and will triage what's going on with |
Reverts #7222 except docker/docker-compose-async-wf-kafka-v4.yml
then switches Shopify/sarama -> IBM/sarama v1.45.2
This way it doesn't bring -deprecated packages into go.mod (like we had with the latest, IBM/sarama v1.46)
This was done because
1.46looks like it is introducing some significant changes - possibly subtle internal and breaking changes and is very recently released (hopefully they'll have some patches soon if they're actually indeed causing internal breaks)