public class BatchedEventhubDataWriter extends BufferedAsyncDataWriter<String>
EventhubBatchAccumulator and EventhubDataWriter
EventhubBatchAccumulator provides a buffer to store pending records
EventhubDataWriter is the actual writer ships data to eventhub| Modifier and Type | Field and Description |
|---|---|
static String |
COMMIT_STEP_WAIT_TIME_CONFIG |
static long |
COMMIT_STEP_WAIT_TIME_DEFAULT |
static String |
COMMIT_TIMEOUT_MILLIS_CONFIG |
static long |
COMMIT_TIMEOUT_MILLIS_DEFAULT |
static String |
EVH_HUBNAME |
static String |
EVH_NAMESPACE |
static String |
EVH_SAS_KEYNAME |
static String |
EVH_SAS_KEYVALUE |
static String |
FAILURE_ALLOWANCE_PCT_CONFIG |
static double |
FAILURE_ALLOWANCE_PCT_DEFAULT |
| Constructor and Description |
|---|
BatchedEventhubDataWriter(EventhubBatchAccumulator accumulator,
EventhubDataWriter dataWriter) |
public static final String COMMIT_TIMEOUT_MILLIS_CONFIG
public static final long COMMIT_TIMEOUT_MILLIS_DEFAULT
public static final String COMMIT_STEP_WAIT_TIME_CONFIG
public static final long COMMIT_STEP_WAIT_TIME_DEFAULT
public static final String FAILURE_ALLOWANCE_PCT_CONFIG
public static final double FAILURE_ALLOWANCE_PCT_DEFAULT
public static final String EVH_NAMESPACE
public static final String EVH_HUBNAME
public static final String EVH_SAS_KEYNAME
public static final String EVH_SAS_KEYVALUE
public BatchedEventhubDataWriter(EventhubBatchAccumulator accumulator, EventhubDataWriter dataWriter)