File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
core/src/main/scala/kafka/log/stream/s3 Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -177,12 +177,16 @@ protected WriteAheadLog buildWAL() {
177177 case "file" :
178178 return BlockWALService .builder (uri ).config (config ).build ();
179179 case "s3" :
180- ObjectStorage walObjectStorage = ObjectStorageFactory .instance ().builder (BucketURI .parse (config .walConfig ()))
180+ ObjectStorage walObjectStorage = ObjectStorageFactory .instance ()
181+ .builder (BucketURI .parse (config .walConfig ()))
182+ .inboundLimiter (networkInboundLimiter )
183+ .outboundLimiter (networkOutboundLimiter )
181184 .tagging (config .objectTagging ())
182185 .threadPrefix ("s3-wal" )
183186 .build ();
184187
185- ObjectWALConfig .Builder configBuilder = ObjectWALConfig .builder ().withURI (uri )
188+ ObjectWALConfig .Builder configBuilder = ObjectWALConfig .builder ()
189+ .withURI (uri )
186190 .withClusterId (brokerServer .clusterId ())
187191 .withNodeId (config .nodeId ())
188192 .withEpoch (config .nodeEpoch ());
You can’t perform that action at this time.
0 commit comments