In the Chronicle Queue I have two types of messages written. I wanna read this messages using the same tailer and if it is possible with the same method for example using tailer.readDocument().
Anyone now if it is possible, the message types are…
I am a new user of chronicle queue and I wanna use a zero allocation strategy to read and write the objects from chronicle queue. I want to use a queue and a marshable implementation of bytes like a pojo class is the that some correct strategy?
I…
I want to update a record at specific index. My code did not work. Thank you all
appender.writeBytes(Bytes.wrapForRead("1234".getBytes()));
long index = tailer.index();
DocumentContext dc = tailer.readingDocument();
Wire wire…
I'm trying to run some chronicle queue junit tests using the TempDir annotation, but the test fail because chronicle queue doesn't let go of the files before junit cleans up the temp dir, which causes the test to fail.
My temporary solution is to…
I'm just getting started with chronicle queue - however I'm a bit confused on which API to use for reading/writing to the queue. Specifically chronicle-queue-5 vs chronicle-3.5.*
I've gone through this link which basically uses chronicle-queue API…
In the below code, restarting the tailer process is ok. However, restarting the appender process results in the tailer failing to receive any more messages. Is there a way to restart the appender and keep the channel open?
Edited: Below is a full…
I use CQ v5.16.11 (with openjdk 11) to save data with daily roll cycles.
The process runs non-stop from Sun to Fri so I have 5 cq4 files per week. I ran the process for 1.5 weeks and have 8 files (3 for 1st and 5 for 2nd week).
So the files that I…
I started using chronicle-queue a few days back, and i was going through its documentation.
Chronicle Queue does not support operating off any network file
system, be it NFS, AFS, SAN-based storage or anything else. The reason
for this is…
I'm looking at Chronicle and I don't understand one thing.
An example - I have a queue with one writer - market data provider writes tick data as they appear.
Let's say queue has 10 readers - each reader is a different trading strategy that reads…
I have implemented following Chronicle Queue and for this I want to write unit test case. How do I capture ArgumentCaptor arguments while using lambda. I want to get writeBuffer in test case to verify the data.
public class Persister {
public…
I am using Chronicle 4.5.27 for writing and reading market data.
I have got a single writer but multiple readers. Development OS is Windows followed by Linux for Prod deployment.
How to implement following uses cases?
How to start reading queues…
For the concept of taking back up , i need to copy data from one chronicle queue to another .
Would it be safe to do a directly copy the whole Bytes object from wire of one queue into another ?
something like…
I have a listener project implemented on java that consumes the data from kafka and pushes into the Vanilla Chronicle queue. I am using the java libraries of jna, jna-platform version 4.4.0 and chronicle queue version 3.6.4. When I run the project…
I'm bench-marking Chronicle queue for one of our use cases and noticed that readDocument() API of the ExcerptTailer creates too much garbage! JFR shows that the process spends around 66% of the time in the stack below.
What version of Chronicle…
I am trying to implement Chronicle Queue into our system and had a question regarding rolling of files daily but at a specific time as per the local time zone of the process. I read few write-ups regarding how to specify roll cycle but as per…