Skip to content

Files

elixir-stream

Elixir code for RabbitMQ tutorials

Here you can find Elixir code examples from RabbitMQ tutorials.

Requirements

These examples use the VictorGaiva/rabbitmq-stream client library.

The dependencies are installed during the exection of the examples using Mix.install/1

Code

Code examples are executed via elixir:

Tutorial one: "Hello World!":

# run the publisher
elixir publish.exs

# run the consumer
elixir consume.exs

To learn more, see VictorGaiva/rabbitmq-stream.