Skip to content
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

Open
ono opened this issue Jul 1, 2024 · 0 comments · Fixed by esl/MongooseIM#4338
Open

The library is not working with OTP 27 (But there is a workaround) #231

ono opened this issue Jul 1, 2024 · 0 comments · Fixed by esl/MongooseIM#4338

Comments

@ono
Copy link
Collaborator

ono commented Jul 1, 2024

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.

  defp deps do
    [
      {:amqp, "~> 3.3"},
      {:amqp_client, "~> 3.12"},
      {:rabbit_common, "~> 3.13.4", override: true},
      ...

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.

@ono ono changed the title The library is not working with OTP 27 The library is not working with OTP 27 (But there is a workaround) Jul 4, 2024
arcusfelis added a commit to esl/MongooseIM that referenced this issue Jul 10, 2024
'maybe' is a reserved word now
Remove geas from plugins (problem with maybe)
Use rabbitmq_common with a fix pma/amqp#231
arcusfelis added a commit to esl/MongooseIM that referenced this issue Jul 23, 2024
'maybe' is a reserved word now
Remove geas from plugins (problem with maybe)
Use rabbitmq_common with a fix pma/amqp#231
arcusfelis added a commit to esl/MongooseIM that referenced this issue Jul 25, 2024
'maybe' is a reserved word now
Remove geas from plugins (problem with maybe)
Use rabbitmq_common with a fix pma/amqp#231
arcusfelis added a commit to esl/MongooseIM that referenced this issue Jul 25, 2024
Use rabbitmq_common with a fix pma/amqp#231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant