Class AuditDomainEventProducer
java.lang.Object
org.nuxeo.ecm.core.event.stream.DomainEventProducer
org.nuxeo.ecm.platform.audit.stream.AuditDomainEventProducer
Audit domain event producer.
- Since:
- 11.4
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Codec<AuditDomainEvent>
protected static final String
protected static final org.apache.logging.log4j.Logger
protected static final com.fasterxml.jackson.databind.ObjectMapper
protected static final String
Fields inherited from class org.nuxeo.ecm.core.event.stream.DomainEventProducer
name, stream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Receives Nuxeo Core events from the synchronous listener DomainEventProducerListener.protected Record
buildRecordFromEvent
(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
-
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:DomainEventProducer
Receives Nuxeo Core events from the synchronous listener DomainEventProducerListener.- Specified by:
addEvent
in classDomainEventProducer
-
buildRecordFromEvent
-
getDomainEvents
Description copied from class:DomainEventProducer
Produces Domain Event Records from the accumulated Nuxeo Core events.- Specified by:
getDomainEvents
in classDomainEventProducer
-