Class StreamingServicesCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.services.stream.StreamingServicesCoreProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-service-registry-stream")
public class StreamingServicesCoreProperties
extends Object
implements Serializable
This is
StreamingServicesCoreProperties
.- Since:
- 6.5.0
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the replication mod.boolean
Whether service registry events should be streamed and published across a CAS cluster.setEnabled
(boolean enabled) Whether service registry events should be streamed and published across a CAS cluster.setReplicationMode
(StreamingServicesCoreProperties.ReplicationModes replicationMode) Indicates the replication mod.
-
Constructor Details
-
StreamingServicesCoreProperties
public StreamingServicesCoreProperties()
-
-
Method Details
-
getReplicationMode
Indicates the replication mod. -
isEnabled
public boolean isEnabled()Whether service registry events should be streamed and published across a CAS cluster. One typical workflow is to enable the publisher on one master node and have others consume definitions and changes from the upstream master node in order to avoid overrides and timing issues as changes may step over each other if the service registry schedule is not timed correctly. -
setReplicationMode
public StreamingServicesCoreProperties setReplicationMode(StreamingServicesCoreProperties.ReplicationModes replicationMode) Indicates the replication mod.- Returns:
this
.
-
setEnabled
Whether service registry events should be streamed and published across a CAS cluster. One typical workflow is to enable the publisher on one master node and have others consume definitions and changes from the upstream master node in order to avoid overrides and timing issues as changes may step over each other if the service registry schedule is not timed correctly.- Returns:
this
.
-