heniek
heniek

Reputation: 13

Reading from multiple queues vs chronicle event loop

What is the recommended approach to using chronicle event loop with chronicle queues, e.g. if I want to read from 2 queues - can it be done using event loop? (preferrably with each reader running on it's own thread/core)

Upvotes: 1

Views: 128

Answers (1)

Peter Lawrey
Peter Lawrey

Reputation: 533492

The EventLoop is useful when you want to share multiple readers and other actions in a single thread. If you want to use a thread each, I would suggest using an ExecutorService or a new Thread

Upvotes: 0

Related Questions