Skip to content

Commit 4864f74

Browse files
shuesc1MnkyGns
authored andcommitted
docs: Updates incorrect default value (GoogleCloudPlatform#2531)
* Updates incorrect default value * Updates incorrect default value
1 parent 7c9deb4 commit 4864f74

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

v1/README_Cloud_PubSub_to_Datadog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ on [Metadata Annotations](https://github.com/GoogleCloudPlatform/DataflowTemplat
4040
### Optional parameters
4141

4242
* **apiKey**: The Datadog API key. You must provide this value if the `apiKeySource` is set to `PLAINTEXT` or `KMS`. For more information, see API and Application Keys (https://docs.datadoghq.com/account_management/api-app-keys/) in the Datadog documentation.
43-
* **batchCount**: The batch size for sending multiple events to Datadog. The default is `1` (no batching).
43+
* **batchCount**: The batch size for sending multiple events to Datadog. The default is `100`.
4444
* **parallelism**: The maximum number of parallel requests. The default is `1` (no parallelism).
4545
* **includePubsubMessage**: Whether to include the full Pub/Sub message in the payload. The default is `true` (all elements, including the data element, are included in the payload).
4646
* **apiKeyKMSEncryptionKey**: The Cloud KMS key to use to decrypt the API Key. You must provide this parameter if the `apiKeySource` is set to `KMS`. If the Cloud KMS key is provided, you must pass in an encrypted API Key. For example, `projects/your-project-id/locations/global/keyRings/your-keyring/cryptoKeys/your-key-name`.

v1/src/main/java/com/google/cloud/teleport/templates/common/DatadogConverters.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ public interface DatadogOptions extends PipelineOptions {
112112
order = 3,
113113
optional = true,
114114
description = "Batch size for sending multiple events to Datadog Logs API.",
115-
helpText =
116-
"The batch size for sending multiple events to Datadog. The default is `1` (no batching).")
115+
helpText = "The batch size for sending multiple events to Datadog. The default is `100`.")
117116
ValueProvider<Integer> getBatchCount();
118117

119118
void setBatchCount(ValueProvider<Integer> batchCount);

0 commit comments

Comments
 (0)