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 booleanprotected final Codec<IndexingDomainEvent> static final Stringstatic final Stringprotected final io.dropwizard.metrics5.MetricRegistryprotected static final Stringprotected final ThreadLocalIndexingCommandsStackerprotected final StreamManagerstatic final Stringprotected final io.dropwizard.metrics5.TimerFields inherited from class org.nuxeo.ecm.core.event.stream.DomainEventProducer
name, stream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReceives Nuxeo Core events from the synchronous listener DomainEventProducerListener.Produces Domain Event Records from the accumulated Nuxeo Core events.protected voidvoidpostCommitHook(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:DomainEventProducerReceives Nuxeo Core events from the synchronous listener DomainEventProducerListener.- Specified by:
addEventin classDomainEventProducer
-
getDomainEvents
Description copied from class:DomainEventProducerProduces Domain Event Records from the accumulated Nuxeo Core events.- Specified by:
getDomainEventsin classDomainEventProducer
-
markLastRecordAsEndOfBatch
-
postCommitHook
Description copied from class:DomainEventProducerThis hook is called once the records have been produced downstream, providing the list of produced record offsets.- Overrides:
postCommitHookin classDomainEventProducer
-