|
| 1 | +# The script that abides by the multi-language protocol. This script will |
| 2 | +# be executed by the MultiLangDaemon, which will communicate with this script |
| 3 | +# over STDIN and STDOUT according to the multi-language protocol. |
| 4 | +executableName = sample_kclpy_app.py |
| 5 | + |
| 6 | +# The name of an Amazon Kinesis stream to process. |
| 7 | +# Important: streamArn takes precedence over streamName if both are set |
| 8 | +streamName = STREAM_NAME_PLACEHOLDER |
| 9 | + |
| 10 | +# Used by the KCL as the name of this application. Will be used as the name |
| 11 | +# of an Amazon DynamoDB table which will store the lease and checkpoint |
| 12 | +# information for workers with this application name |
| 13 | +applicationName = APP_NAME_PLACEHOLDER |
| 14 | + |
| 15 | +# Users can change the credentials provider the KCL will use to retrieve credentials. |
| 16 | +# Expected key name (case-sensitive): |
| 17 | +# AwsCredentialsProvider / AwsCredentialsProviderDynamoDB / AwsCredentialsProviderCloudWatch |
| 18 | +# The DefaultCredentialsProvider checks several other providers, which is |
| 19 | +# described here: |
| 20 | +# https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.html |
| 21 | +AwsCredentialsProvider = DefaultCredentialsProvider |
| 22 | + |
| 23 | +# Appended to the user agent of the KCL. Does not impact the functionality of the |
| 24 | +# KCL in any other way. |
| 25 | +processingLanguage = python/3.8 |
| 26 | + |
| 27 | +# Valid options at TRIM_HORIZON or LATEST. |
| 28 | +# See http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#API_GetShardIterator_RequestSyntax |
| 29 | +initialPositionInStream = TRIM_HORIZON |
| 30 | + |
| 31 | +# The KCL defaults to us-east-1 |
| 32 | +regionName = us-east-1 |
| 33 | + |
| 34 | +# Idle time between record reads in milliseconds. |
| 35 | +idleTimeBetweenReadsInMillis = 250 |
0 commit comments