Interface TableSchemaPublisher

  • All Superinterfaces:
    java.lang.AutoCloseable

    public interface TableSchemaPublisher
    extends java.lang.AutoCloseable
    Interface representing a CDC schema publisher.
    • Method Detail

      • publishSchema

        PublishSchemaResult publishSchema​(java.lang.String schema,
                                          TableSchemaPublisher.SchemaPublishMetadata metadata)
        Publishes the schema producing a result.
        Parameters:
        schema - A string containing a valid schema.
        metadata - All the needed metadata associated to the schema.
        Returns:
        The publishing result.
      • close

        default void close()
        Specified by:
        close in interface java.lang.AutoCloseable