Class OldKafkaTopicsAdmin

java.lang.Object
com.mapr.cli.marlin.kwps.OldKafkaTopicsAdmin
All Implemented Interfaces:
com.mapr.kwps.KTopicsAdmin, AutoCloseable

@Deprecated(forRemoval=true) public class OldKafkaTopicsAdmin extends Object implements com.mapr.kwps.KTopicsAdmin
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Summary

    Constructors
    Constructor
    Description
    OldKafkaTopicsAdmin(com.mapr.fs.proto.Security.CredentialsMsg userCredentials)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    createTopic(com.mapr.kwps.KTopicDescriptor topicDesc)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    deleteTopic(String topicName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    editTopic(com.mapr.kwps.KTopicDescriptor topicDesc)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mapr.kwps.BrokerDescriptor
    getController(Optional<String> kafkaCluster)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.mapr.kwps.KTopicDescriptor
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    linkTopic(String topicName, String topicTarget)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Iterable<com.mapr.kwps.BrokerDescriptor>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Iterable<com.mapr.kwps.BrokerDescriptor>
    listBrokers(Optional<String> kafkaCluster)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Iterable<com.mapr.kwps.KTopicDescriptor>
    listTopics(String topicRegex)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mapr.kwps.KTopicsAdmin

    getController, notifyMetadataChange
  • Constructor Details

    • OldKafkaTopicsAdmin

      public OldKafkaTopicsAdmin(com.mapr.fs.proto.Security.CredentialsMsg userCredentials) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
  • Method Details

    • getConnectionProperties

      public Map<String,String> getConnectionProperties() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getConnectionProperties in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • getConnectionProperties

      public Map<String,String> getConnectionProperties(Optional<String> kafkaCluster) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getConnectionProperties in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • createTopic

      public void createTopic(com.mapr.kwps.KTopicDescriptor topicDesc) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createTopic in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • editTopic

      public void editTopic(com.mapr.kwps.KTopicDescriptor topicDesc) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      editTopic in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • deleteTopic

      public boolean deleteTopic(String topicName) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      deleteTopic in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • getTopicDescriptor

      public com.mapr.kwps.KTopicDescriptor getTopicDescriptor(String topic) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getTopicDescriptor in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • listTopics

      public Iterable<com.mapr.kwps.KTopicDescriptor> listTopics(String topicRegex) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      listTopics in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • close

      public void close() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • getController

      public com.mapr.kwps.BrokerDescriptor getController(Optional<String> kafkaCluster) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getController in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • linkTopic

      public void linkTopic(String topicName, String topicTarget) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      linkTopic in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • listBrokers

      public Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      listBrokers in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • listBrokers

      public Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers(Optional<String> kafkaCluster) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      listBrokers in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException
    • notifyMetadataChange

      public void notifyMetadataChange(Optional<String> kafkaCluster) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      notifyMetadataChange in interface com.mapr.kwps.KTopicsAdmin
      Throws:
      IOException