-
Notifications
You must be signed in to change notification settings - Fork 124
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
The library is not working with OTP 27 (But there is a workaround) #231
Comments
'maybe' is a reserved word now Remove geas from plugins (problem with maybe) Use rabbitmq_common with a fix pma/amqp#231
'maybe' is a reserved word now Remove geas from plugins (problem with maybe) Use rabbitmq_common with a fix pma/amqp#231
'maybe' is a reserved word now Remove geas from plugins (problem with maybe) Use rabbitmq_common with a fix pma/amqp#231
Use rabbitmq_common with a fix pma/amqp#231
has this been released? I am running into Because cowboy >= 2.9.0 depends on ranch 1.8.0 and rabbit_common >= 3.13.2-rc.1 depends on ranch 2.1.0, cowboy >= 2.9.0 is incompatible with rabbit_common >= 3.13.2-rc.1. |
I also receive the error about conflicting ranch versions. It's caused by this PR in rabbit that was backported into 3.13.x. @epinault You might try adding |
unfortunately, seems like i am stuck because esaml also depends on cowboy and cause a conflict dependency too now |
4.0.0 is out and it supports OTP 27. The client is compatible with both RabbitMQ 3.x and 4.x. Please note that the RabbitMQ team has reported some performance issues with OTP 27. https://www.rabbitmq.com/blog/2024/05/23/erlang27-support This might not be relevant to the client side in most cases, but we recommend you monitor carefully. I am not sure if the dependency issue has also been solved. At least, it doesn't seem to be directly related to the main topic. Please be aware that the dependency issue with amqp_client and rabbit_common is not something we can address here (this library has no control). You might need to report it to RabbitMQ team. |
This is a known issue with RabbitMQ - https://www.rabbitmq.com/blog/2024/05/23/erlang27-support and this library is depending on their Erlang client library. We are waiting for them to deliver a fix.
We also requested RabbitMQ team to continue to support amqp_client: rabbitmq/rabbitmq-server#11593
UPDATE on July 4, 2024
I found a workaround. rabbit_common 3.13.4 can be compiled with OTP 27. According to the RabbitMQ team, there has been no change on amqp_client since 3.12.x. Therefore you can use OTP 27 by overriding rabbit_common version in mix.exs like below.
I ran unit tests with it and all passed.
We can't officially support it but I personally think the risk is low. The performance issue with OTP 27 seems to be server related.
The text was updated successfully, but these errors were encountered: