I currently put my objects in the Chronicle Queue as follows
ExcerptAppender appender = SingleChronicleQueueBuilder
.binary("/path_to_chronicle/")
.build()
.acquireAppender();
// Write
synchronized…
I'm using Chronicle V4 proxy API to convert a message into a function call.
When myMethod(Thing a) is invoked after a readOne() call, the 'a' object instance ID is the same each time but the content has the latest…
I'm using Chronicle Queue v5.17.0 to process messages and my understanding is that the queue does not lose messages even if the java process dies (due to the fact that queue uses memory mapped file which is flushed by the OS).
Will some messages be…
I have 1 SingleChronicleQueue that has different messages appended via methodWriter proxy API.
My reader handler processes 'message1' and appends back a different message 'message2' for the same handler to process via a different method…
I just upgraded from Chronicle Queue 4.6.109 to 5.16.16. Since the upgrade I noticed many warnings of the following form in all of our services that use Chronicle Queue:
2018-10-16 16:26:58,524 WARN [main ] SCQIndexing …
I wanna build a micro services system, and i'm choosing the message queue.
As the title, can I use Chonicle queue as a pub/sub system?
I read that Chronicle Queue can be used as a message passing between jvms on the same machine, but how can we…
I am using chronicle-queue (5.16.13) to write and read json values to a chronicle file.
To write objects I use the following in a loop
try (final DocumentContext dc = appender.writingDocument()) {
dc.wire().write(() -> "msg").text("Hallo…
We are marshalling XML data as string and converting it into bytes with getBytes(StandardCharsets.UTF_8) and writing them to chronicle queue:
try (DocumentContext dc = appender.writingDocument()) {
Wire wire = dc.wire();
Bytes bytes =…
I got to know Chronicle-Queue from post:
Implementing a file based queue
Here's my use case:
I have a web server (say tomcat) which serves http requests
Each request processing might generate some tracing info.
I'll write these tracing info into a…
I am using Chronicle queue 5.16.8
I am getting this warning
net.openhft.chronicle.threads.Pauser : Using Pauser.sleepy() as not enough processors, have 1, needs 8+
Is it possible to increase this processor ?
source code
My approach here is…
Is there any UI or a utility through which we can check the contents of Chronicle Queues and Chronicle Maps?
Till now I have only found DumpQueueMain class which spits out all the info available on the queue.
Thanks!
when i use OpenHFT/Chronicle-Queue, it creates data files in queue with name format as today's date.
for example : 20180113.cq4
can we change this file naming convention ?
I want to use Chronicle Queues as inboxes for user messages, with each user of my application having his own queue. However, I'm facing the following "issues":
Since the number of messages per user is not that high, all messages for a single user…
I have scenario where multiple threads are writing to the same queue.
Appender threads receive updates from the different markets (each thread single market) and push those data into same queue:
ChronicleQueue queue =…
I am using Chronicle 4.5.27.
Below is simple implementation for Writer and Reader with StoreFileListner. In Reader I am getting multiple onAcquired and onReleased events.
Why will this happen? I am expecting to receive only one Acquire (when file…