Package org.nuxeo.ecm.core.search.index
Class IndexingDomainEventProducer
java.lang.Object
org.nuxeo.ecm.core.event.stream.DomainEventProducer
org.nuxeo.ecm.core.search.index.IndexingDomainEventProducer
- Since:
- 2025.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected final Codec
<IndexingDomainEvent> static final String
static final String
protected final io.dropwizard.metrics5.MetricRegistry
protected static final String
protected final ThreadLocalIndexingCommandsStacker
protected final StreamManager
static final String
protected final io.dropwizard.metrics5.Timer
Fields inherited from class org.nuxeo.ecm.core.event.stream.DomainEventProducer
name, stream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Receives Nuxeo Core events from the synchronous listener DomainEventProducerListener.Produces Domain Event Records from the accumulated Nuxeo Core events.protected void
void
postCommitHook
(List<LogOffset> offsets) This hook is called once the records have been produced downstream, providing the list of produced record offsets.Methods inherited from class org.nuxeo.ecm.core.event.stream.DomainEventProducer
getName, getStream, maxPerPartition
-
Field Details
-
DISABLE_AUTO_INDEXING
- See Also:
-
SYNC_INDEXING_FLAG
- See Also:
-
CODEC_NAME
- See Also:
-
SOURCE_NAME
- See Also:
-
registry
protected final io.dropwizard.metrics5.MetricRegistry registry -
stacker
-
codec
-
streamManager
-
syncWaitTimer
protected final io.dropwizard.metrics5.Timer syncWaitTimer -
anySyncCommand
protected boolean anySyncCommand
-
-
Constructor Details
-
IndexingDomainEventProducer
-
-
Method Details
-
addEvent
Description copied from class:DomainEventProducer
Receives Nuxeo Core events from the synchronous listener DomainEventProducerListener.- Specified by:
addEvent
in classDomainEventProducer
-
getDomainEvents
Description copied from class:DomainEventProducer
Produces Domain Event Records from the accumulated Nuxeo Core events.- Specified by:
getDomainEvents
in classDomainEventProducer
-
markLastRecordAsEndOfBatch
-
postCommitHook
Description copied from class:DomainEventProducer
This hook is called once the records have been produced downstream, providing the list of produced record offsets.- Overrides:
postCommitHook
in classDomainEventProducer
-