I write utf8 strings to chronicle queue with daily rolling. The default queue file size is 81920 KB. After I write dozens of messages (1 KB each), the file becomes over 1 GB quickly. How can I control the file size?
I have created a single queue with daily rolling. On the next day, I can't read the latest appended message. I found that the tailer index doesn't move to the latest cycle automatically after reading all messages in the previous cycle. By the way…
When the number of messages to write are high, getting IllegalStateException after some time. Here is the code:
chronicle = ChronicleQueueBuilder.indexed(basePrefix).build();
loop begin
{
appender = chronicle.createAppender();
…
I don't need any persistence for local IPC. Can I somehow use chronicle queue with the memory of a fixed size or fixed-size file as buffer in order not to have to store processed messages? Or that you can advise me to such a situation?
I'm trying to configure Reactor to use Chronicle based persistence, and I cannot find by information about this in documentation. I see two ways:
Create my own dispatcher supporting PersistentQueue
Use EventBatcher with such queue to wrap my…
Chronicle Queue MethodReader suddenly stops reading without any error, the busy loop keeps going but readOne is false beyond that point.The only option is to recreate methodReader, then it works normally.
The occurrence is rare and random, and hard…
Sorry for the newbie question in advance. I have a REST endpoint that returns the required data in scrollable manner by chunk per every call I made in a loop. And I want to put each of these chunks into the Chronicle queue as a separate…
using Chronicle-Queue 5.16.16 and see following exception:
2023-05-17 16:02:38 [Thread-12] WARN - Unsigned Int 31-bit 3544677295290987316 out of range java.lang.IllegalArgumentException: Unsigned Int 31-bit 3544677295290987316 out of range at…
Given that chronicle queue provides b.write(b.writePosition(), toWrite, toWrite.position(), toWrite.limit()); for writing from a ByteBuffer to Chronicle, what is used to read it?
I currently use the following in Java 8:
private final…
This is related to the previous question I have posted. I think that while it is related, it might be different enough to warrant its own question.
The code used is:
public static void main(String[] args){
ChronicleQueue QUEUE =…
Hi i want simple persistent queue for single process.
It will record (add to queue) if any sql fails then when sql server awake , it will send all remaining objects from queue back to sql server.
If any record from queue will fail again while…
I have two separate ChronicleQueues that were created by independent threads that monitor web socket streams in a Java application. When I read each queue independently in a separate single-thread program, I can traverse each entire queue as…
I too am beginning to look at ChronicleQueue.
From the documentation:
Reading the queue follows the same pattern as writing, except there is a possibility there is not a message when you attempt to read it
I am trying to understand what happens…
this is the version of Chronicle Queue:
net.openhftchronicle-queue5.21.93
this is how I write using appender:
String basePath = OS.userDir() + "\\start";
…