Skip to content

Commit b72b97a

Browse files
committed
update env template
1 parent 33dc398 commit b72b97a

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed
+21-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
# AWS Configuration
22
AWS_ACCESS_KEY_ID=your_access_key
33
AWS_SECRET_ACCESS_KEY=your_secret_key
4+
AWS_REGION=your_region
5+
SQS_QUEUE_URL=your-queue-url
46

5-
# SQS Configuration
6-
SQS_QUEUE_URL=your-queue-url
7+
# Advanced SQS Configuration (Optional - defaults shown)
8+
POLL_INTERVAL=100ms # Time between SQS polls (default: 100ms)
9+
MAX_MESSAGES=10 # Maximum messages per poll (default: 10, max: 10)
10+
NUM_WORKERS=5 # Number of concurrent SQS polling workers (default: 5)
11+
WS_BATCH_SIZE=100 # WebSocket message batch size (default: 100)
12+
BUFFER_SIZE=1000 # Message channel buffer size (default: 1000)
13+
MAX_RETRY_ATTEMPTS=5 # Maximum retry attempts for SQS operations (default: 5)
14+
INITIAL_RETRY_DELAY=100ms # Initial retry delay for exponential backoff (default: 100ms)
15+
MAX_RETRY_DELAY=5s # Maximum retry delay (default: 5s)
16+
SQS_VISIBILITY_TIMEOUT=30 # Visibility timeout for received messages (default: 30 seconds)
17+
SQS_WAIT_TIME=0 # SQS long polling wait time (default: 0, max: 20 seconds)
18+
19+
# Azure Cosmos DB Configuration (Optional)
20+
COSMOS_ENDPOINT=https://your-cosmos-account.documents.azure.com:443/
21+
COSMOS_KEY=your-cosmos-key
22+
COSMOS_DATABASE=your-database-name
23+
COSMOS_CONTAINER=your-container-name
24+
COSMOS_BATCH_SIZE=100 # Number of messages to batch before writing to Cosmos
25+
AZURE_REGION=eastus # Used for partitioning data in Cosmos DB

0 commit comments

Comments
 (0)