public class StreamAuditWriter extends Object implements StreamProcessorTopology
Modifier and Type | Class and Description |
---|---|
static class |
StreamAuditWriter.AuditLogWriterComputation |
Modifier and Type | Field and 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 and Description |
---|
StreamAuditWriter() |
Modifier and Type | Method and Description |
---|---|
protected int |
getOptionAsInteger(Map<String,String> options,
String option,
int defaultValue) |
Topology |
getTopology(Map<String,String> options)
Returns a Stream computation topology.
|
public static final String COMPUTATION_NAME
public static final String BATCH_SIZE_OPT
public static final String BATCH_THRESHOLD_MS_OPT
public static final int DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_THRESHOLD_MS
public StreamAuditWriter()
public Topology getTopology(Map<String,String> options)
StreamProcessorTopology
getTopology
in interface StreamProcessorTopology
protected int getOptionAsInteger(Map<String,String> options, String option, int defaultValue)
Copyright © 2018 Nuxeo. All rights reserved.