CQ: 4.5.27.
I have created 2 chronicle for one for write (single thread) and other reader (N threads) reading same file using single chronicleReader.
SingleChronicleQueue chronicleWriter = chronicleFactory.createChronicle("Writer", path,…
I just start to read the latest V4 documentation. It suggests for remote append and tail, it is recommended to use chronicle-engine. Does it require the enterprise support for that set of functionality ? I looked around the test packages of…
I'm looking to write messages to a single queue. I'd like to use the sub-topics functionality, so that tailers can pick and choose either to read all of the sub-topics under one topic, or pick specific sub-topics to read from.
The documentation…
We are preparing to use Chronicle Queue (SingleChronicleQueue) to record our messages. The prototype is working now. However we have some problems.
Can readers modify the messages? We use a chronicle map to record indices read to remove duplicate…
As of Chronicle-Queue v4.5.27, it seems like the ServiceWrapperBuilder needs to be enhanced to include StoreFileListener assignment? If there's a different construct, again, by way of ServiceWrapper queue creation, what is it?
In version 3 of OpenHFT's Chronicle Queue there is an API call on ExcerptAppender (nextSynchronous(boolean)) to request that the contents of the queue be forced to be written to disk (fsync'd)when the next excerpt is finished. I don't see a similar…
I have the following code to read from Chronicle queue (it's written in Kotlin but that does not matter):
val queue = ChronicleQueueBuilder.single(path).build()
val tailer = queue.createTailer()
tailer.toEnd()
// // This code is wrong
// val…
I'm evaluating Chronicle Queue for usage in our software and I must be doing something wrong.
I have an appender that will write about 650k entries very quick. After that it grinds to a halt, at which point the memory has spiked to max allowed and…
I have been doing some performance testing on Chronicle queue and I am not getting the latency in the micro seconds that Chronicle claims I should. I have a single writer and reader setup. The writer writes the current time into the queue and the…
Hi I'm using the following queue versions,
chronicle-queue.version : 4.5.15
chronicle-wire.version : 1.7.14
My Chronicle reader got stuck at some point (index 74204158352345 ) and readDocument returns false after each call, but my chronicle writer…
The documentation shows the usage of an appender or a tailer generally with a lambda, like this:
appender.writeDocument(wireOut -> wireOut.write("log").marshallable(m ->
m.write("mkey").text(mkey)
.write("timestamp").dateTime(now)
…
This used to work with the chronicle queue v3. It does not create a queue in v4. What am I doing wrong? Thanks.
Chronicle chronicleSignal = ChronicleQueueBuilder.vanilla("somePath").build();
ExcerptAppender appender =…
I am using Chronicle Queue v4.5.15. I have created a method to tell me the number of elements that are in the queue:
public long getQueueSize() {
long index = getQueueIndex(); // I store the index in a persistent map so this method simply…
Reading message from chronicle queue does not move the current index to the next cycle automatically. I get the following logs messages:
697917 [SCHEDULER#4] INFO net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts - Rolled 2 times…
We are trying Chronicle HFT as a proof of concept for low latency messaging b/w components. We are using chronicle-1.7.2.jar
We have a reader and writer, writer keeps writing excerpts to chronicle and reader keeps reading it in a busy while loop.…