Class ZeebeClientConfigurationProperties
java.lang.Object
io.camunda.zeebe.spring.client.properties.ZeebeClientConfigurationProperties
- All Implemented Interfaces:
io.camunda.zeebe.client.ZeebeClientConfiguration
@ConfigurationProperties(prefix="zeebe.client")
public class ZeebeClientConfigurationProperties
extends Object
implements io.camunda.zeebe.client.ZeebeClientConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZeebeClientConfigurationProperties
(org.springframework.core.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Make sure environment variables and other legacy config options are taken into account.boolean
getCloud()
io.camunda.zeebe.client.CredentialsProvider
int
List<io.grpc.ClientInterceptor>
getJob()
io.camunda.zeebe.client.api.JsonMapper
int
int
int
hashCode()
boolean
boolean
boolean
boolean
void
setApplyEnvironmentVariableOverrides
(boolean applyEnvironmentVariableOverrides) void
void
void
setConnectionMode
(String connectionMode) void
setEnabled
(boolean enabled) void
setInterceptors
(List<io.grpc.ClientInterceptor> interceptors) void
void
setJsonMapper
(io.camunda.zeebe.client.api.JsonMapper jsonMapper) void
void
setOwnsJobWorkerExecutor
(boolean ownsJobWorkerExecutor) void
setRequestTimeout
(Duration requestTimeout) void
setScheduledExecutorService
(ScheduledExecutorService scheduledExecutorService) void
void
toString()
-
Field Details
-
DEFAULT
public static final io.camunda.zeebe.client.impl.ZeebeClientBuilderImpl DEFAULT -
CONNECTION_MODE_CLOUD
- See Also:
-
CONNECTION_MODE_ADDRESS
- See Also:
-
-
Constructor Details
-
ZeebeClientConfigurationProperties
@Autowired public ZeebeClientConfigurationProperties(org.springframework.core.env.Environment environment)
-
-
Method Details
-
applyOverrides
Make sure environment variables and other legacy config options are taken into account. Environment variables are taking precedence over Spring properties. Legacy config options are read only if no real property is set -
getBroker
-
setBroker
-
getCloud
-
setCloud
-
getWorker
-
setWorker
-
getMessage
-
setMessage
-
getSecurity
-
setSecurity
-
getJob
-
setJob
-
setInterceptors
-
getRequestTimeout
-
setRequestTimeout
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isApplyEnvironmentVariableOverrides
public boolean isApplyEnvironmentVariableOverrides() -
setApplyEnvironmentVariableOverrides
public void setApplyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) -
setScheduledExecutorService
-
setOwnsJobWorkerExecutor
public void setOwnsJobWorkerExecutor(boolean ownsJobWorkerExecutor) -
jobWorkerExecutor
- Specified by:
jobWorkerExecutor
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
ownsJobWorkerExecutor
public boolean ownsJobWorkerExecutor()- Specified by:
ownsJobWorkerExecutor
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
equals
-
hashCode
public int hashCode() -
toString
-
getGatewayAddress
- Specified by:
getGatewayAddress
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getConnectionMode
-
setConnectionMode
-
getDefaultRequestTimeout
- Specified by:
getDefaultRequestTimeout
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getNumJobWorkerExecutionThreads
public int getNumJobWorkerExecutionThreads()- Specified by:
getNumJobWorkerExecutionThreads
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobWorkerMaxJobsActive
public int getDefaultJobWorkerMaxJobsActive()- Specified by:
getDefaultJobWorkerMaxJobsActive
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobWorkerName
- Specified by:
getDefaultJobWorkerName
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobWorkerType
-
getDefaultJobTimeout
- Specified by:
getDefaultJobTimeout
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobPollInterval
- Specified by:
getDefaultJobPollInterval
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultMessageTimeToLive
- Specified by:
getDefaultMessageTimeToLive
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
isPlaintextConnectionEnabled
public boolean isPlaintextConnectionEnabled()- Specified by:
isPlaintextConnectionEnabled
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getCaCertificatePath
- Specified by:
getCaCertificatePath
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getOverrideAuthority
- Specified by:
getOverrideAuthority
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getCredentialsProvider
public io.camunda.zeebe.client.CredentialsProvider getCredentialsProvider()- Specified by:
getCredentialsProvider
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getKeepAlive
- Specified by:
getKeepAlive
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getInterceptors
- Specified by:
getInterceptors
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getJsonMapper
public io.camunda.zeebe.client.api.JsonMapper getJsonMapper()- Specified by:
getJsonMapper
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
setJsonMapper
public void setJsonMapper(io.camunda.zeebe.client.api.JsonMapper jsonMapper) -
getMaxMessageSize
public int getMaxMessageSize()- Specified by:
getMaxMessageSize
in interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-