Package org.nuxeo.audit.stream
Class AuditDomainEventProducer
java.lang.Object
org.nuxeo.ecm.core.event.stream.DomainEventProducer
org.nuxeo.audit.stream.AuditDomainEventProducer
Audit domain event producer.
- Since:
- 11.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Codec<AuditDomainEvent> protected static final Stringprotected static final org.apache.logging.log4j.Loggerprotected static final com.fasterxml.jackson.databind.ObjectMapperprotected static final StringFields 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.protected RecordbuildRecordFromEvent(LogEntry entry) Produces Domain Event Records from the accumulated Nuxeo Core events.Methods inherited from class org.nuxeo.ecm.core.event.stream.DomainEventProducer
getName, getStream, maxPerPartition, postCommitHook
-
Field Details
-
log
protected static final org.apache.logging.log4j.Logger log -
SOURCE_NAME
- See Also:
-
MAPPER
protected static final com.fasterxml.jackson.databind.ObjectMapper MAPPER -
CODEC_NAME
- See Also:
-
records
-
codec
-
-
Constructor Details
-
AuditDomainEventProducer
-
-
Method Details
-
addEvent
Description copied from class:DomainEventProducerReceives Nuxeo Core events from the synchronous listener DomainEventProducerListener.- Specified by:
addEventin classDomainEventProducer
-
buildRecordFromEvent
-
getDomainEvents
Description copied from class:DomainEventProducerProduces Domain Event Records from the accumulated Nuxeo Core events.- Specified by:
getDomainEventsin classDomainEventProducer
-