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 classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZeebeClientConfigurationProperties(org.springframework.core.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionvoidMake sure environment variables and other legacy config options are taken into account.booleangetCloud()io.camunda.zeebe.client.CredentialsProviderintList<io.grpc.ClientInterceptor>getJob()io.camunda.zeebe.client.api.JsonMapperintinthashCode()booleanbooleanbooleanvoidsetApplyEnvironmentVariableOverrides(boolean applyEnvironmentVariableOverrides) voidvoidvoidsetConnectionMode(String connectionMode) voidsetEnabled(boolean enabled) voidsetInterceptors(List<io.grpc.ClientInterceptor> interceptors) voidvoidsetJsonMapper(io.camunda.zeebe.client.api.JsonMapper jsonMapper) voidvoidsetRequestTimeout(Duration requestTimeout) voidvoidtoString()
-
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) -
equals
-
hashCode
public int hashCode() -
toString
-
getGatewayAddress
- Specified by:
getGatewayAddressin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getConnectionMode
-
setConnectionMode
-
getDefaultRequestTimeout
- Specified by:
getDefaultRequestTimeoutin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getNumJobWorkerExecutionThreads
public int getNumJobWorkerExecutionThreads()- Specified by:
getNumJobWorkerExecutionThreadsin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobWorkerMaxJobsActive
public int getDefaultJobWorkerMaxJobsActive()- Specified by:
getDefaultJobWorkerMaxJobsActivein interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobWorkerName
- Specified by:
getDefaultJobWorkerNamein interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobWorkerType
-
getDefaultJobTimeout
- Specified by:
getDefaultJobTimeoutin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultJobPollInterval
- Specified by:
getDefaultJobPollIntervalin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getDefaultMessageTimeToLive
- Specified by:
getDefaultMessageTimeToLivein interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
isPlaintextConnectionEnabled
public boolean isPlaintextConnectionEnabled()- Specified by:
isPlaintextConnectionEnabledin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getCaCertificatePath
- Specified by:
getCaCertificatePathin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getOverrideAuthority
- Specified by:
getOverrideAuthorityin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getCredentialsProvider
public io.camunda.zeebe.client.CredentialsProvider getCredentialsProvider()- Specified by:
getCredentialsProviderin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getKeepAlive
- Specified by:
getKeepAlivein interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getInterceptors
- Specified by:
getInterceptorsin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
getJsonMapper
public io.camunda.zeebe.client.api.JsonMapper getJsonMapper()- Specified by:
getJsonMapperin interfaceio.camunda.zeebe.client.ZeebeClientConfiguration
-
setJsonMapper
public void setJsonMapper(io.camunda.zeebe.client.api.JsonMapper jsonMapper)
-