-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix location of reference.conf for rest and sources
- Loading branch information
1 parent
40ebe83
commit c022fde
Showing
2 changed files
with
44 additions
and
45 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
raw.rest.client { | ||
async-request-retries = 10 | ||
|
||
service-not-available-retries = 10 | ||
service-not-available-retry-interval = 1s | ||
|
||
connect-timeout = 20s | ||
socket-timeout = 120s | ||
|
||
max-conn-per-route = 20 | ||
max-conn-total = 100 | ||
} | ||
raw.sources { | ||
rdbms { | ||
connect-timeout = 30 s | ||
read-timeout = 300 s | ||
network-timeout = 300 s | ||
login-timeout = 30 s | ||
} | ||
} | ||
raw.sources.dropbox.clientId = "" | ||
raw.sources.bytestream.http { | ||
connect-timeout = 20 s | ||
read-timeout = 120 s | ||
conn-pool-max-per-route = 4096 | ||
conn-pool-max-total = 32768 | ||
} | ||
raw.sources.s3 { | ||
connect-timeout = 60 s | ||
read-timeout = 120 s | ||
max-connections = 50 | ||
|
||
# Hadoop s3a filesystem will make a nested loop of retries with the 2 next settings. | ||
# so if max-retries = 7 and max-attempts = 3, it will make 7*3 = 21 retries | ||
# see fs.s3a.attempts.maximum and fs.s3a.retry.limit | ||
max-retries = 10 | ||
max-attempts = 0 | ||
# Initial delay between s3a retries, see fs.s3a.retry.interval | ||
retry-interval = 100 ms | ||
tmp-dir = ${java.io.tmpdir}/s3 | ||
|
||
default-region = eu-west-1 | ||
} |