Where should a class like this add try-with-resources so that it correctly closes resources? I presume the appender should be reused as shown, right?
public class ChronicleWriter implements UpdateListener {
private ExcerptAppender appender;
…
After disk space is finish I got InternalError. Adding disk space wasn't fix problem.
Is it possible to restore and continue to persist?
May be on error I can try to recreate/close?
Creation of the queue queue =…
I want to use chronicle queue to store messages using the high level API as mentioned in the answer of this question. But I also want some kind of key for my messages as mentioned here
1.) Firstly , is this the right/efficient way to read/write…
I'm setting up a market data back-testing using Chronicle Queue (CQ), reading data from a binary file then writing into a single CQ and simultaneously reading the data from that CQ and dumping the statistics. I am doing a POC to replace our existing…
In certain container boxes chronicle queue is not working.I am seeing this exception: 2018-11-17 16:30:57.825 [failsafe-sender] WARN n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - Unable to append EOF,…
I want to realize transaction Match .can I use chronicle in it ? and How to use it ?
thanks. I am writing log with it.but some error happend like :
Problematic frame:
J 927 C2…
I opened an issue for this: https://github.com/OpenHFT/Chronicle-Queue/issues/534
I am trying to implement periodic old queue file purge logic using StoreFileListener. I am using latest release net.openhft:chronicle-queue:5.16.13. The issue I am…
so I'm trying to see what's the fastest way to write to Chronicle Queue in a multithread env so I have the following:
public static void main(String[] args) throws Exception{
final String path = args[0];
int times =…
I am using chronicle queue v4 for writing serialized object to queue. But I keep getting below Exception
Exception in thread "CLF-1" java.lang.AssertionError: you cant put a header inside a header, check that you have not nested the documents.
…
I am using CronicleQueue and I have only one writer/reader. Wanted to cleanup as soon as the reader is done with a CQ4 file. The following code wasn't able to remove the file, is the file reference still held by CQ during onReleased()…
I am very new to ChronicleQueue and I am unable to find a straight forward example of how can I read back my custom object from a tailer.
public class MyData extends AbstractMarshallable
I have my class containing some strings and numbers, I am…
I use log4j2 2.10.0 and have the following code:
SingleChronicleQueue q = SingleChronicleQueueBuilder.binary(args[0]).blockSize(536870912).build();
ExcerptAppender a = q.acquireAppender();
char[] chars =…
I have started playing with chronicle and I wrote a process that basically listen to the chronicle queue and do something with it. So every time it restarts, it will reprocess all the events in the file... I wonder what's the best way to do it such…