Skip to content

Commit

Permalink
Implement S3 archiver #290
Browse files Browse the repository at this point in the history
  • Loading branch information
spetz committed Jul 13, 2024
1 parent d6e5a90 commit 6d3ea67
Show file tree
Hide file tree
Showing 14 changed files with 380 additions and 44 deletions.
229 changes: 227 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion configs/server.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
},
"s3": {
"key_id": "123",
"access_key": "secret",
"key_secret": "secret",
"bucket": "iggy",
"endpoint": "http://localhost:9000",
"region": "eu-west-1"
}
},
Expand Down
12 changes: 9 additions & 3 deletions configs/server.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ path = "local_data/archive"
[data_maintenance.archiver.s3]
# Access key ID for the S3 bucket.
key_id = "123"

# Secret access key for the S3 bucket
access_key = "secret"
key_secret = "secret"

# Name of the S3 bucket.
bucket = "iggy"

# Endpoint of the S3 bucket.
endpoint = "http://localhost:9000"

# Region of the S3 bucket.
region = "eu-west-1"
# Endpoint of the S3 bucket.
bucket = "iggy"

[data_maintenance.messages]
# Enables or disables the archiver process for closed segments containing messages.
Expand Down
Loading

0 comments on commit 6d3ea67

Please sign in to comment.