dashbitco / broadway_rabbitmq

A Broadway producer for RabbitMQ
193 stars 42 forks source link

broadway_rabbitmq won't compile on Elixir 1.17 and Erlang 27 #132

Closed raulchedrese closed 1 week ago

raulchedrese commented 5 months ago

This looks to be related to this issue https://github.com/rabbitmq/rabbitmq-server/issues/11328.

Seems like it is fixed in the newest version of https://hex.pm/packages/rabbit_common but the dependency chain from here to there will need to be updated.

josevalim commented 5 months ago

Once there is a release of amqp_client it should be good. You can also explicitly override the rabbit_common dependency if you prefer.

raulchedrese commented 5 months ago

👍🏽 thanks for the tip @josevalim! I'll give overriding the version a try and keep an eye out for a amqp_client release.

ono commented 4 months ago

A bit late for the game but hopefully it is also useful (override seems to be working) https://github.com/pma/amqp/issues/231

ono commented 2 weeks ago

We released amqp 4.0.0 which can be compiled with OTP 27. I know it is a bit confusing but amqp_client is backward compatible so it should work with RabbitMQ server 3.x too.

Please use it with caution though: https://github.com/pma/amqp?tab=readme-ov-file#otp-27-support

whatyouhide commented 1 week ago

Yep, this seems to be fixed. @raulchedrese feel free to reopen if you still see issues.