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(deps): update zeebe.version to v8.5.6 (release/8.5) #896

Merged
merged 2 commits into from
Aug 23, 2024
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 @@ -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;
}
}