package gobblin.eventhub.writer;

/**
 * Configuration keys for a Eventhub.
 */


public class EventhubWriterConfigurationKeys {

    /** Writer specific configuration keys go here **/

  static final String COMMIT_TIMEOUT_MILLIS_CONFIG = "writer.eventhub.commitTimeoutMillis";
  static final long   COMMIT_TIMEOUT_MILLIS_DEFAULT = 60000; // 1 minute
  static final String COMMIT_STEP_WAIT_TIME_CONFIG = "writer.eventhub.commitStepWaitTimeMillis";
  static final long   COMMIT_STEP_WAIT_TIME_DEFAULT = 500; // 500ms
  static final String FAILURE_ALLOWANCE_PCT_CONFIG = "writer.eventhub.failureAllowancePercentage";
  static final double FAILURE_ALLOWANCE_PCT_DEFAULT = 20.0;

  static final String BATCH_TTL = "writer.eventhub.batch.ttl";
  static final long   BATCH_TTL_DEFAULT = 3000; // 3 seconds
  static final String BATCH_SIZE = "writer.eventhub.batch.size";
  static final long   BATCH_SIZE_DEFAULT = 128 * 1024; // 128KB

  public final static String  EVH_NAMESPACE = "eventhub.namespace";
  public final static String  EVH_HUBNAME = "eventhub.hubname";
  public final static String  EVH_SAS_KEYNAME = "eventhub.sas.keyname";
  public final static String  EVH_SAS_KEYVALUE = "eventhub.sas.keyvalue";
}

@@ -177,24 +177,31 @@
 here **/%0A%0A  
+public 
 static final
@@ -272,32 +272,39 @@
 meoutMillis%22;%0A  
+public 
 static final lon
@@ -360,16 +360,23 @@
 inute%0A  
+public 
 static f
@@ -460,24 +460,31 @@
 eMillis%22;%0A  
+public 
 static final
@@ -535,24 +535,31 @@
  // 500ms%0A  
+public 
 static final
@@ -641,24 +641,31 @@
 centage%22;%0A  
+public 
 static final
@@ -713,16 +713,23 @@
 0.0;%0A%0A  
+public 
 static f
@@ -779,24 +779,31 @@
 tch.ttl%22;%0A  
+public 
 static final
@@ -851,16 +851,23 @@
 conds%0A  
+public 
 static f
@@ -923,16 +923,23 @@
 ize%22;%0A  
+public 
 static f
@@ -971,19 +971,19 @@
 FAULT = 
-128
+256
  * 1024;
@@ -990,11 +990,11 @@
  // 
-128
+256
 KB%0A%0A

increase eventhub default batch size and make configuration to public (#1584)