Comments (6)
What version of Elixir, conduit, and conduit_amqp are you using?
Can you share your application.ex
start function?
https://github.com/conduitframework/conduit/blob/95c67209aa/lib/conduit/broker.ex#L83
This get's passed to child_spec/2
on the adapter module, not directly to start_link
.
https://github.com/conduitframework/conduit_amqp/blob/master/lib/conduit_amqp.ex#L31-L37
The list of arguments here, are individual arguments. So a list of 4, is equivalent to four arguments.
from conduit.
I'm on elixir v1.8.1, conduit ~> 0.12, conduit_amqp ~> 0.4.
def start(_type, _args) do
# List all child processes to be supervised
children = [
# Start the Ecto repository
DataDigest.Repo,
# Start the endpoint when the application starts
DataDigestWeb.Endpoint,
# Starts a worker by calling: DataDigest.Worker.start_link(arg)
# {DataDigest.Worker, arg},
{DataDigestQueue.Broker, []}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: DataDigest.Supervisor]
Supervisor.start_link(children, opts)
end
from conduit.
Can you provide the specific versions your using: mix deps
from conduit.
I suspect the version of conduit
and conduit_amqp
you're using are not compatible with each other. Newest version of conduit
is 0.12.10
and newest of conduit_amqp
is 0.6.3
. If something said you should use ~> 0.4
, that should get updated.
from conduit.
Also, worth noting that there is an example app you can compare against: https://github.com/conduitframework/conduit_amqp_example
from conduit.
Sure, mix.deps
says conduit 0.12.10
and conduit_amqp 0.4.6
. I was following the generator output. Upgrading to 0.6.3
has fixed it. Thanks! (And yes I went through the example before reporting the issue, thanks though)
from conduit.
Related Issues (13)
- New release, please? HOT 1
- Update generator documentation to show non-deprecated examples HOT 4
- Generate subscriber task does not output right config
- Help w/ deprecation warning? HOT 4
- [Feature Request] Configure a pool size of sorts? HOT 6
- How do I publish messages? HOT 1
- Support for multiple subscribers to the same message HOT 5
- nice error when publishing to non-existent atom HOT 1
- Keep a changelog HOT 4
- MessageActions plugs stopped working in Broker for conduit 0.12.0
- Raise an error when multiple subscribe/publish routes use the same name HOT 1
- Generate docs for queues/exchanges/publish routes/subscribe routes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conduit.