Skip to content

Commit

Permalink
fix(err): latest behaviour version (#26114)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverb123 authored Nov 11, 2024
1 parent 0c8267c commit babbe33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/cymbal/src/app_context.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit babbe33

Please sign in to comment.