Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(s3Stream): support aliyun oss #804

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<guava.version>32.1.3-jre</guava.version>
<slf4j.version>2.0.9</slf4j.version>
<snakeyaml.version>2.2</snakeyaml.version>
<s3stream.version>0.6.8-SNAPSHOT</s3stream.version>
<s3stream.version>0.6.9-SNAPSHOT</s3stream.version>

<!-- Flat buffers related -->
<flatbuffers.version>23.5.26</flatbuffers.version>
Expand Down
2 changes: 1 addition & 1 deletion s3stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.automq.elasticstream</groupId>
<artifactId>s3stream</artifactId>
<version>0.6.8-SNAPSHOT</version>
<version>0.6.9-SNAPSHOT</version>
<properties>
<mockito-core.version>5.5.0</mockito-core.version>
<junit-jupiter.version>5.10.0</junit-jupiter.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ private void checkConfig() {

private void checkAvailable() {
byte[] content = new Date().toString().getBytes(StandardCharsets.UTF_8);
String path = String.format("/check_available/%d", System.currentTimeMillis());
String multipartPath = String.format("/check_available_multipart/%d", System.currentTimeMillis());
String path = String.format("check_available/%d", System.currentTimeMillis());
String multipartPath = String.format("check_available_multipart/%d", System.currentTimeMillis());
try {
// Simple write/read/delete
this.write(path, Unpooled.wrappedBuffer(content)).get(30, TimeUnit.SECONDS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ default CompletableFuture<ByteBuf> rangeRead(String path, long start, long end)
/**
* Write data to object.
*
* @param path object path.
* @param path object path. The path should not start with '/' since Aliyun OSS does not support it.
* @param data data.
* @param throttleStrategy throttle strategy.
*/
Expand Down
Loading