Skip to content

Commit

Permalink
fix(deps): update zeebe.version to v8.5.6 (release/8.5) (#896)
Browse files Browse the repository at this point in the history
* fix(deps): update zeebe.version to v8.5.6

* added new config method

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Lukas <jonathan.lukas@camunda.com>
  • Loading branch information
renovate[bot] and jonathanlukas authored Aug 23, 2024
1 parent 4471427 commit bcb3551
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>

<zeebe.version>8.5.5</zeebe.version>
<zeebe.version>8.5.6</zeebe.version>
<identity.version>8.5.4</identity.version>

<spring-boot.version>3.2.5</spring-boot.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,15 @@ public int getMaxMessageSize() {
configCache);
}

public int getMaxMetadataSize() {
return getOrLegacyOrDefault(
"MaxMetadataSize",
() -> camundaClientProperties.getZeebe().getMaxMetadataSize(),
null,
DEFAULT.getMaxMetadataSize(),
configCache);
}

@Override
public ScheduledExecutorService jobWorkerExecutor() {
return zeebeClientExecutorService.get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class ZeebeClientProperties extends ApiProperties {
private Integer executionThreads;
private Duration messageTimeToLive;
private Integer maxMessageSize;
private Integer maxMetadataSize;
private Duration requestTimeout;
private String caCertificatePath;
private Duration keepAlive;
Expand Down Expand Up @@ -106,4 +107,12 @@ public boolean isPreferRestOverGrpc() {
public void setPreferRestOverGrpc(boolean preferRestOverGrpc) {
this.preferRestOverGrpc = preferRestOverGrpc;
}

public Integer getMaxMetadataSize() {
return maxMetadataSize;
}

public void setMaxMetadataSize(Integer maxMetadataSize) {
this.maxMetadataSize = maxMetadataSize;
}
}

0 comments on commit bcb3551

Please sign in to comment.