frumos
Can I develop for Erlang/RabbitMQ on Elixir?
Hello,
I know RabbitMQ is Erlang based product and I have a question, is it possible to develop for example RabbitMQ plugins on Elixir and even more generic question can I develop on Elixir for Erlang? How this is natural or may be opposite crazy idea?
Thank you.
Most Liked
dch
The short answer is “yes”, and the longer answer is “the notes are slightly out of date, but you should be able to make it”. The main issue is that the disparate rabbitmq repos were merged into a single one, and the instructions for building plugins don’t quite match up anymore.
Some great references, roughly in chronological order:
- RabbitMQ » Blog Archive » Using Elixir to write RabbitMQ Plugins - Messaging that just works
- RabbitMQ plugins in Elixir
- GitHub - noxdafox/rabbitmqsummit2018: Slides and source for the RabbitMQ summit 2018 & video https://m.youtube.com/watch?v=8pNh_F-hQ54
- https://www.cloudamqp.com/blog/2018-12-10-developing-rabbitmq-plugins-in-elixir.html
If you get stuck, just continue a thread here, or on the rabbitmq mailing list, I think there are enough people around to help out.
hauleth
You can call most of the Elixir code in Erlang with ease. Tooling is more of a problem, but there exist tools to integrate Mix into Rebar3 (I do not know what build manager RabbitMQ uses). So you can, but sometimes you may need some footwork to make it work as you want.
frumos
Thank you Dave for detailed reply, I do appreciate it.







