Class AuditLogDestinationCatalogTargetProcessor


public class AuditLogDestinationCatalogTargetProcessor extends CatalogTargetProcessorBase
Distributes audit log events from one or more embedded topic connectors to one or more embedded audit log destinations.
  • Constructor Details

    • AuditLogDestinationCatalogTargetProcessor

      public AuditLogDestinationCatalogTargetProcessor(CatalogTarget template, Connector connectorToTarget, String connectorName, AuditLog auditLog)
      Copy/clone constructor
      Parameters:
      template - object to copy
      connectorToTarget - connector to access the target resource
      connectorName - name of this integration connector
      auditLog - logging destination
  • Method Details

    • storeLogRecord

      public void storeLogRecord(OMRSAuditLogRecord logRecord)
      Store the audit log record in the audit log store.
      Parameters:
      logRecord - log record to store
    • refresh

      public void refresh()
      Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories. Refresh is called when the integration connector first starts and then at intervals defined in the connector's configuration as well as any external REST API calls to explicitly refresh the connector.
      Specified by:
      refresh in class CatalogTargetProcessorBase