I have created a function which uses with-open to consume event from Kafka. when I run this function from REPL, it is blocking the REPL thread. I am not able to eval any other expression or function.
Is there a way to push this in background or separate thread ?
You can try using (future …) or clojure.async
Okay. I started project from lein repl then from emacs used cider-connect to connect to repl started by lein.