Package org.nuxeo.audit.storage.stream
Class StreamAuditStorageWriter
- java.lang.Object
-
- org.nuxeo.audit.storage.stream.StreamAuditStorageWriter
-
- All Implemented Interfaces:
StreamProcessorTopology
public class StreamAuditStorageWriter extends Object implements StreamProcessorTopology
Computation that consumes a stream of Json log entries and write them to the Directory Audit Storage.- Since:
- 9.10
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
StreamAuditStorageWriter.AuditStorageLogWriterComputation
-
Field Summary
Fields Modifier and Type Field Description static String
BATCH_SIZE_OPT
static String
BATCH_THRESHOLD_MS_OPT
static String
COMPUTATION_NAME
static int
DEFAULT_BATCH_SIZE
static int
DEFAULT_BATCH_THRESHOLD_MS
-
Constructor Summary
Constructors Constructor Description StreamAuditStorageWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getOptionAsInteger(Map<String,String> options, String option, int defaultValue)
Topology
getTopology(Map<String,String> options)
Returns a Stream computation topology.
-
-
-
Field Detail
-
COMPUTATION_NAME
public static final String COMPUTATION_NAME
- See Also:
- Constant Field Values
-
BATCH_SIZE_OPT
public static final String BATCH_SIZE_OPT
- See Also:
- Constant Field Values
-
BATCH_THRESHOLD_MS_OPT
public static final String BATCH_THRESHOLD_MS_OPT
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_THRESHOLD_MS
public static final int DEFAULT_BATCH_THRESHOLD_MS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTopology
public Topology getTopology(Map<String,String> options)
Description copied from interface:StreamProcessorTopology
Returns a Stream computation topology.- Specified by:
getTopology
in interfaceStreamProcessorTopology
-
-