One project multiple programs connected by ZMQ how to set up in Pkg

1153dent
Sun, 05 Feb 2023 13:35:12 +0000
New to Julia

I’m starting a new project and DETERMINED to learn from my past adventures in Julia (FUN).

I am setting up modules and projects BUT can’t figure out how to cater for the situation where two programs communicate with a third via zmq. Can I put this configuration in one project and if so how. When I

$julia ; ] ; pkg > generate zmq_pull

It creates ONE file zmq_pull .jl as expected. But there are two other scripts

zmq_push_1.jl
zmq_push_2.jl

which are run in separate cron processes and communicate with zmq_pull.jl through ZMQ.

Do I have to create 3 separate projects for each of the component scripts? I don’t see how using include would help me.

7 posts - 2 participants