-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent Queue v1 #5958
Persistent Queue v1 #5958
Conversation
…nant/acked_persistent_queue repo
… abstract with volatile impl
… feature/java_persistence
…java_persistence # Conflicts: # logstash-core/src/main/java/org/logstash/ackedqueue/Checkpoint.java # logstash-core/src/main/java/org/logstash/ackedqueue/HeadPage.java # logstash-core/src/main/java/org/logstash/ackedqueue/Queue.java
… feature/java_persistence
…erialization+interface problem
with persistence we no longer wait for total queue drain before terminating the pipeline. Some of the specs for the Agent class use the count of events created by the generator plugin to ensure the metric counters are correct. This commit changes the assertion strategy to not depend on exact values, but instead on their properties. Fixes #6084
… feature/java_persistence
…of a byte). This fixes a flakey test
…e test itself on OSX.
… feature/java_persistence
@@ -0,0 +1,279 @@ | |||
package org.logstash.common.io.wip; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as discussed this is a temporary package to hold the unfinished MemoryPageIOStream.java
so it can benefit any code refactor etc.
Closing this as it is already merged. |
This is a WIP level PR to start getting eyeballs and bootstrapping the review process. Please note the following:
First Iteration Design Goals:
Usage:
data/queue
path. make sure it exists:$ mkdir -p data/queue
$ rm -f data/queue/*
will clean the queue if needed when logstash is not running.path.queue: which defaults to
data/queue`queue.type:
which default to the disk based PQ but can also take thememory
option to use the in-memory implementation of the PQ (that we use in tests), orsynchronous
which is the legacy in-memory queue.queue.page_capacity
which defaults to 250Mqueue.queue_capacity
which for now is a maximum number of events limit in the queue, by default there is no limit