Skip to content

Commit a8e42bb

Browse files
author
Vihas Splunk
committed
Add config to Readme
1 parent 052d00c commit a8e42bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ Use the below schema to configure Splunk Connect for Kafka
162162
| `splunk.sources` | Splunk event source metadata for Kafka topic data. The same configuration rules as indexes can be applied. If left unconfigured, the default source binds to the HEC token. | `""` |
163163
| `splunk.sourcetypes` | Splunk event sourcetype metadata for Kafka topic data. The same configuration rules as indexes can be applied here. If left unconfigured, the default sourcetype binds to the HEC token. | `""` |
164164
| `splunk.flush.window` | The interval in seconds at which the events from kafka connect will be flushed to Splunk. | `30` |
165+
| `splunk.validation.disable` | Disable validating splunk configurations before creating task. | `false` |
165166
| `splunk.hec.ssl.validate.certs` | Valid settings are `true` or `false`. Enables or disables HTTPS certification validation. |`true`|
166167
| `splunk.hec.http.keepalive` | Valid settings are `true` or `false`. Enables or disables HTTP connection keep-alive. |`true`|
167168
| `splunk.hec.max.http.connection.per.channel` | Controls how many HTTP connections will be created and cached in the HTTP pool for one HEC channel. |`2`|

src/main/java/com/splunk/kafka/connect/SplunkSinkConnectorConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public final class SplunkSinkConnectorConfig extends AbstractConfig {
4646
static final String SOURCE_CONF = "splunk.sources";
4747
static final String SOURCETYPE_CONF = "splunk.sourcetypes";
4848
static final String FLUSH_WINDOW_CONF = "splunk.flush.window";
49+
static final String DISABLE_VALIDATION = "splunk.validation.disable";
4950
static final String TOTAL_HEC_CHANNEL_CONF = "splunk.hec.total.channels";
5051
static final String MAX_HTTP_CONNECTION_PER_CHANNEL_CONF = "splunk.hec.max.http.connection.per.channel";
5152
static final String MAX_BATCH_SIZE_CONF = "splunk.hec.max.batch.size"; // record count
@@ -54,7 +55,6 @@ public final class SplunkSinkConnectorConfig extends AbstractConfig {
5455
static final String SOCKET_TIMEOUT_CONF = "splunk.hec.socket.timeout"; // seconds
5556
static final String SSL_VALIDATE_CERTIFICATES_CONF = "splunk.hec.ssl.validate.certs";
5657
static final String ENABLE_COMPRESSSION_CONF = "splunk.hec.enable.compression";
57-
static final String DISABLE_VALIDATION = "splunk.validation.disable";
5858
// Acknowledgement Parameters
5959
// Use Ack
6060
static final String ACK_CONF = "splunk.hec.ack.enabled";
@@ -129,7 +129,7 @@ public final class SplunkSinkConnectorConfig extends AbstractConfig {
129129
static final String SSL_VALIDATE_CERTIFICATES_DOC = "Valid settings are true or false. Enables or disables HTTPS "
130130
+ "certification validation. By default, this is set to true.";
131131
static final String ENABLE_COMPRESSSION_DOC = "Valid settings are true or false. Used for enable or disable gzip-compression. By default, this is set to false.";
132-
static final String DISABLE_VALIDATION_DOC = "Disable validating splunk configurations before creating task";
132+
static final String DISABLE_VALIDATION_DOC = "Disable validating splunk configurations before creating task.";
133133
// Acknowledgement Parameters
134134
// Use Ack
135135
static final String ACK_DOC = "Valid settings are true or false. When set to true Splunk Connect for Kafka will "

0 commit comments

Comments
 (0)