This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new write_timeout option available in pipeline configuration (#383)
nightly integration tests caught the issue of having a hard coded write timeout of 1s, this makes the write timeout configurable for the pipeline (currently applies to all sinks)
- Loading branch information
1 parent
d20abda
commit 41ffa26
Showing
5 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
enron_source_mongo = mongodb({ | ||
var enron_source_mongo = mongodb({ | ||
"uri": "mongodb://${MONGODB_ENRON_SOURCE_USER}:${MONGODB_ENRON_SOURCE_PASSWORD}@${MONGODB_ENRON_SOURCE_URI}/enron", | ||
"tail": false | ||
}) | ||
|
||
enron_sink_es = elasticsearch({ | ||
var enron_sink_es = elasticsearch({ | ||
"uri": "https://${ES_ENRON_SINK_USER}:${ES_ENRON_SINK_PASSWORD}@${ES_ENRON_SINK_URI}/enron" | ||
}) | ||
|
||
t.Source("enron_source_mongo", enron_source_mongo, "emails") | ||
var config = { | ||
"write_timeout": "30s", | ||
} | ||
|
||
t.Config(config) | ||
.Source("enron_source_mongo", enron_source_mongo, "emails") | ||
.Save("enron_sink_es", enron_sink_es, "emails"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters