Class EventBusConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.EventBusConfig
EventBusConfig caches the default properties that are used to set up event-based connectors in the server. If it
is set up then the admin services will ensure that all connectors created after the event bus is configured,
that embed an event bus will use the same event bus connector with the core additional properties.
(These additional properties can be overridden when a specific connector is set up).
-
Constructor Summary
ConstructorDescriptionDefault constructorEventBusConfig
(EventBusConfig template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the configuration properties for the event bus connection.Return the class name of the connector provider for the event bus.Return the root of the topic URL.int
hashCode()
Return a hash code based on the values of this object.void
setConfigurationProperties
(Map<String, Object> configurationProperties) Set up the configuration properties for the event bus connection.void
setConnectorProvider
(String connectorProvider) Set up the class name of the connector provider for the event bus.void
setTopicURLRoot
(String topicURLRoot) Set up the root of the topic URL.toString()
Standard toString method.
-
Constructor Details
-
EventBusConfig
public EventBusConfig()Default constructor -
EventBusConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getConnectorProvider
Return the class name of the connector provider for the event bus.- Returns:
- class name
-
setConnectorProvider
Set up the class name of the connector provider for the event bus.- Parameters:
connectorProvider
- class name
-
getTopicURLRoot
Return the root of the topic URL. The open metadata modules will add specific names to the root URL.- Returns:
- string URL
-
setTopicURLRoot
Set up the root of the topic URL. The open metadata modules will add specific names to the root URL.- Parameters:
topicURLRoot
- string URL
-
getConfigurationProperties
Return the configuration properties for the event bus connection.- Returns:
- map of name value pairs
-
setConfigurationProperties
Set up the configuration properties for the event bus connection.- Parameters:
configurationProperties
- map of name value pairs
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-