Class OldKafkaTopicsAdmin

  • All Implemented Interfaces:
    com.mapr.kwps.KTopicsAdmin, java.lang.AutoCloseable

    @Deprecated(forRemoval=true)
    public class OldKafkaTopicsAdmin
    extends java.lang.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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      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​(java.lang.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.
       
      java.util.Map<java.lang.String,​java.lang.String> getConnectionProperties()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.util.Map<java.lang.String,​java.lang.String> getConnectionProperties​(java.util.Optional<java.lang.String> kafkaCluster)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.mapr.kwps.BrokerDescriptor getController​(java.util.Optional<java.lang.String> kafkaCluster)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.mapr.kwps.KTopicDescriptor getTopicDescriptor​(java.lang.String topic)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void linkTopic​(java.lang.String topicName, java.lang.String topicTarget)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers​(java.util.Optional<java.lang.String> kafkaCluster)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.Iterable<com.mapr.kwps.KTopicDescriptor> listTopics​(java.lang.String topicRegex)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void notifyMetadataChange​(java.util.Optional<java.lang.String> kafkaCluster)
      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 Detail

      • OldKafkaTopicsAdmin

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

      • getConnectionProperties

        public java.util.Map<java.lang.String,​java.lang.String> getConnectionProperties()
                                                                                       throws java.io.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:
        java.io.IOException
      • getConnectionProperties

        public java.util.Map<java.lang.String,​java.lang.String> getConnectionProperties​(java.util.Optional<java.lang.String> kafkaCluster)
                                                                                       throws java.io.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:
        java.io.IOException
      • createTopic

        public void createTopic​(com.mapr.kwps.KTopicDescriptor topicDesc)
                         throws java.io.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:
        java.io.IOException
      • editTopic

        public void editTopic​(com.mapr.kwps.KTopicDescriptor topicDesc)
                       throws java.io.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:
        java.io.IOException
      • deleteTopic

        public boolean deleteTopic​(java.lang.String topicName)
                            throws java.io.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:
        java.io.IOException
      • getTopicDescriptor

        public com.mapr.kwps.KTopicDescriptor getTopicDescriptor​(java.lang.String topic)
                                                          throws java.io.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:
        java.io.IOException
      • listTopics

        public java.lang.Iterable<com.mapr.kwps.KTopicDescriptor> listTopics​(java.lang.String topicRegex)
                                                                      throws java.io.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:
        java.io.IOException
      • close

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

        public com.mapr.kwps.BrokerDescriptor getController​(java.util.Optional<java.lang.String> kafkaCluster)
                                                     throws java.io.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:
        java.io.IOException
      • linkTopic

        public void linkTopic​(java.lang.String topicName,
                              java.lang.String topicTarget)
                       throws java.io.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:
        java.io.IOException
      • listBrokers

        public java.lang.Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers()
                                                                       throws java.io.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:
        java.io.IOException
      • listBrokers

        public java.lang.Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers​(java.util.Optional<java.lang.String> kafkaCluster)
                                                                       throws java.io.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:
        java.io.IOException
      • notifyMetadataChange

        public void notifyMetadataChange​(java.util.Optional<java.lang.String> kafkaCluster)
                                  throws java.io.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:
        java.io.IOException