redpanda-data / connect

Fancy stream processing made operationally mundane
https://docs.redpanda.com/redpanda-connect/about/
8.13k stars 834 forks source link

Can't build when using go-amqp version v0.18.0 #1616

Open nibbleshift opened 1 year ago

nibbleshift commented 1 year ago

The latest release of go-amqp made several breaking changes to their API. You can see the release notes here: https://github.com/Azure/go-amqp/releases/tag/v0.18.0

The latest version that compiles with Benthos v4 is v0.17.5.

Benthos amqp1 support will need to be ported to the latest library, but a quick work around is to pin the go-amqp version in your go.mod to v0.17.5.

Jeffail commented 1 year ago

Hey @nibbleshift any idea how much effort it would be to upgrade to the newer version?

nibbleshift commented 1 year ago

Most of the changes were related to removing prefixes from function names, adding context as a parameter a bunch of parameters, renaming Errs, etc.

I would say it shouldn't take more than a couple hours to get things updated.