From babbe336fc8e51e32becb2abe6d33f457a38ee94 Mon Sep 17 00:00:00 2001 From: Oliver Browne Date: Mon, 11 Nov 2024 17:21:39 +0200 Subject: [PATCH] fix(err): latest behaviour version (#26114) --- rust/cymbal/src/app_context.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/cymbal/src/app_context.rs b/rust/cymbal/src/app_context.rs index 57507e66e1d9c..da9718fdf5260 100644 --- a/rust/cymbal/src/app_context.rs +++ b/rust/cymbal/src/app_context.rs @@ -1,4 +1,4 @@ -use aws_config::Region; +use aws_config::{BehaviorVersion, Region}; use common_kafka::{ kafka_consumer::SingleTopicConsumer, kafka_producer::create_kafka_producer, kafka_producer::KafkaContext, @@ -62,6 +62,7 @@ impl AppContext { .region(Region::new(config.object_storage_region.clone())) .endpoint_url(&config.object_storage_endpoint) .credentials_provider(aws_credentials) + .behavior_version(BehaviorVersion::latest()) .build(); let s3_client = aws_sdk_s3::Client::from_conf(aws_conf); let s3_client = S3Client::new(s3_client);