Interface CloudEventsProvider


public interface CloudEventsProvider
A ServiceLoader interface that connectors should implement if they wish to provide a way to emit change events using the CloudEvents converter and format.
Author:
Chris Cranford
  • Method Details

    • getName

      String getName()
      The connector name specified in the record's source info block.
      Returns:
      the provider name
    • createMaker

      CloudEventsMaker createMaker(RecordAndMetadata recordAndMetadata, SerializerType contentType, String dataSchemaUriBase, String cloudEventsSchemaName)
      Create a concrete CloudEvents maker using the outputs of a record parser. Also need to specify the data content type (that is the serialization format of the data attribute).
      Parameters:
      recordAndMetadata - a structure containing the record and its metadata
      contentType - the data content type of CloudEvents
      dataSchemaUriBase - the URI of the schema in case of Avro; may be null
      Returns:
      a concrete CloudEvents maker