Class EventBusConfig

  • All Implemented Interfaces:
    Serializable

    public class EventBusConfig
    extends AdminServicesConfigHeader
    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).
    See Also:
    Serialized Form
    • Constructor Detail

      • EventBusConfig

        public EventBusConfig()
        Default constructor
      • EventBusConfig

        public EventBusConfig​(EventBusConfig template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getConnectorProvider

        public String getConnectorProvider()
        Return the class name of the connector provider for the event bus.
        Returns:
        class name
      • setConnectorProvider

        public void setConnectorProvider​(String connectorProvider)
        Set up the class name of the connector provider for the event bus.
        Parameters:
        connectorProvider - class name
      • getTopicURLRoot

        public String getTopicURLRoot()
        Return the root of the topic URL. The open metadata modules will add specific names to the root URL.
        Returns:
        string URL
      • setTopicURLRoot

        public void setTopicURLRoot​(String topicURLRoot)
        Set up the root of the topic URL. The open metadata modules will add specific names to the root URL.
        Parameters:
        topicURLRoot - string URL
      • getAdditionalProperties

        @Deprecated
        public Map<String,​Object> getAdditionalProperties()
        Deprecated.
        Return the additional properties for the event bus connection.
        Returns:
        map of name value pairs
      • setAdditionalProperties

        @Deprecated
        public void setAdditionalProperties​(Map<String,​Object> properties)
        Deprecated.
        Set up the additional properties for the event bus connection.
        Parameters:
        properties - map of name value pairs
      • getConfigurationProperties

        public Map<String,​Object> getConfigurationProperties()
        Return the configuration properties for the event bus connection.
        Returns:
        map of name value pairs
      • setConfigurationProperties

        public void setConfigurationProperties​(Map<String,​Object> configurationProperties)
        Set up the configuration properties for the event bus connection.
        Parameters:
        configurationProperties - map of name value pairs
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Object
        Returns:
        JSON style description of variables.
      • equals

        public boolean equals​(Object objectToCompare)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - object
        Returns:
        boolean result
      • hashCode

        public int hashCode()
        Return a hash code based on the values of this object.
        Overrides:
        hashCode in class Object
        Returns:
        in hash code