Class DeleteClusterLinksOptions

java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<DeleteClusterLinksOptions>
org.apache.kafka.clients.admin.DeleteClusterLinksOptions

@Confluent @Evolving public class DeleteClusterLinksOptions extends AbstractOptions<DeleteClusterLinksOptions>
Options for ConfluentAdmin.deleteClusterLinks(Collection, DeleteClusterLinksOptions). The API of this class is evolving, see Admin for details.
  • Constructor Details

    • DeleteClusterLinksOptions

      public DeleteClusterLinksOptions()
  • Method Details

    • validateOnly

      public boolean validateOnly()
      Whether to validate that the cluster links can be deleted, but not actually delete them.
    • validateOnly

      public DeleteClusterLinksOptions validateOnly(boolean validateOnly)
      Sets whether to validate that the cluster links can be deleted, but not actually delete them.
    • force

      public boolean force()
      Whether to force deletion of the cluster link even if it's in use.
    • deleteMetadata

      public boolean deleteMetadata()
      Whether to delete the metadata after marking it for deletion. This is internally used by the broker to send a request to the controller to remove the link metadata after all its references are removed.
    • force

      public DeleteClusterLinksOptions force(boolean force)
      Sets whether to force deletion of the cluster link even if it's in use.
    • deleteMetadata

      public DeleteClusterLinksOptions deleteMetadata(boolean deleteMetadata)