From 31333906d78607505e15a1a80f7e8faa97b71487 Mon Sep 17 00:00:00 2001 From: Shichao Nie Date: Wed, 14 Aug 2024 15:20:16 +0800 Subject: [PATCH] feat(s3stream): add missing getter method (#1793) Signed-off-by: Shichao Nie --- .../com/automq/stream/s3/operator/ObjectStorageFactory.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/s3stream/src/main/java/com/automq/stream/s3/operator/ObjectStorageFactory.java b/s3stream/src/main/java/com/automq/stream/s3/operator/ObjectStorageFactory.java index 5ebdd3fed8..22fd201c1b 100644 --- a/s3stream/src/main/java/com/automq/stream/s3/operator/ObjectStorageFactory.java +++ b/s3stream/src/main/java/com/automq/stream/s3/operator/ObjectStorageFactory.java @@ -131,6 +131,10 @@ public Builder threadPrefix(String prefix) { return this; } + public String threadPrefix() { + return threadPrefix; + } + public ObjectStorage build() { if (StringUtils.isEmpty(this.threadPrefix)) { this.threadPrefix = Long.toString(defaultThreadPrefixCounter.getAndIncrement());