Skip to content

Commit

Permalink
fix: set default Redis ioThreadPoolSize to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
VonDerBeck committed Sep 28, 2023
1 parent a705e29 commit 0968ffe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ final ZeebeRedis zeebeRedis = ZeebeRedis.newBuilder(redisClient)

*Additional recommendations*

When creating the Redis Client it is recommended to set an appropriate IO-ThreadPool-Size:
When creating the Redis Client it might as well help to set an appropriate IO-ThreadPool-Size:

```java
var redisClient = RedisClient.create(
ClientResources.builder().ioThreadPoolSize(25).build(),
ClientResources.builder().ioThreadPoolSize(16).build(),
redisAddress);
```

Expand Down Expand Up @@ -222,8 +222,8 @@ zeebe:
# Redis stream automatic cleanup of acknowledged messages. Default is false.
deleteAfterAcknowledge: false

# Redis Client IO-Thread-Pool-Size. Default is 25.
ioThreadPoolSize: 25
# Redis Client IO-Thread-Pool-Size. Default is 16.
ioThreadPoolSize: 16

# record serialization format: [protobuf|json]
format: "protobuf"
Expand All @@ -248,7 +248,7 @@ networks:
services:
zeebe:
container_name: zeebe_broker
image: camunda/zeebe:8.2.2
image: camunda/zeebe:8.2.15
environment:
- ZEEBE_LOG_LEVEL=debug
- ZEEBE_REDIS_REMOTE_ADDRESS=redis://redis:6379
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ExporterConfiguration {

private boolean deleteAfterAcknowledge = false;

private int ioThreadPoolSize = 25;
private int ioThreadPoolSize = 16;

public long getCleanupCycleInSeconds() {
return getEnv("CLEANUP_CYCLE_IN_SECONDS").map(Long::parseLong).orElse(cleanupCycleInSeconds);
Expand Down

0 comments on commit 0968ffe

Please sign in to comment.