SIENTIAPDE-1166
feat: add TTL index functionality to MongoDB activities and update requirements - Updated MongoDB class to accept TTL index duration in seconds. - Implemented create_collection_with_ttl_index method to create collections with TTL indexes. - Added environment variable for TTL index duration in connectors_config. - Updated tests to cover new TTL index functionality and ensure proper behavior. - Bumped sientia-dataops-library version to 1.3.4 in requirements.txt.
This commit is contained in:
@@ -167,6 +167,8 @@ env:
|
||||
value: "my-release-mongodb.mongodb.svc.cluster.local:27017"
|
||||
- name: MONGODB_DATABASE
|
||||
value: "sientia"
|
||||
- name: MONGODB_TTL_INDEX_HOURS
|
||||
value: "1"
|
||||
|
||||
- name: KAFKA_BOOTSTRAP_SERVERS
|
||||
value: "kafka.kafka.svc.cluster.local:9092"
|
||||
|
||||
Reference in New Issue
Block a user