Package com.mapr.cli.marlin.kwps
Class OldKafkaTopicsAdmin
- java.lang.Object
-
- com.mapr.cli.marlin.kwps.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.KTopicsAdminDeprecated, 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 voidclose()Deprecated, for removal: This API element is subject to removal in a future version.voidcreateTopic(com.mapr.kwps.KTopicDescriptor topicDesc)Deprecated, for removal: This API element is subject to removal in a future version.booleandeleteTopic(java.lang.String topicName)Deprecated, for removal: This API element is subject to removal in a future version.voideditTopic(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.BrokerDescriptorgetController(java.util.Optional<java.lang.String> kafkaCluster)Deprecated, for removal: This API element is subject to removal in a future version.com.mapr.kwps.KTopicDescriptorgetTopicDescriptor(java.lang.String topic)Deprecated, for removal: This API element is subject to removal in a future version.voidlinkTopic(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.voidnotifyMetadataChange(java.util.Optional<java.lang.String> kafkaCluster)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getConnectionProperties
public java.util.Map<java.lang.String,java.lang.String> getConnectionProperties() throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getConnectionPropertiesin interfacecom.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.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getConnectionPropertiesin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
createTopic
public void createTopic(com.mapr.kwps.KTopicDescriptor topicDesc) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createTopicin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
editTopic
public void editTopic(com.mapr.kwps.KTopicDescriptor topicDesc) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
editTopicin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
deleteTopic
public boolean deleteTopic(java.lang.String topicName) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
deleteTopicin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
getTopicDescriptor
public com.mapr.kwps.KTopicDescriptor getTopicDescriptor(java.lang.String topic) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getTopicDescriptorin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
listTopics
public java.lang.Iterable<com.mapr.kwps.KTopicDescriptor> listTopics(java.lang.String topicRegex) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
listTopicsin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
getController
public com.mapr.kwps.BrokerDescriptor getController(java.util.Optional<java.lang.String> kafkaCluster) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getControllerin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
linkTopic
public void linkTopic(java.lang.String topicName, java.lang.String topicTarget) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
linkTopicin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
listBrokers
public java.lang.Iterable<com.mapr.kwps.BrokerDescriptor> listBrokers() throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
listBrokersin interfacecom.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.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
listBrokersin interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
notifyMetadataChange
public void notifyMetadataChange(java.util.Optional<java.lang.String> kafkaCluster) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
notifyMetadataChangein interfacecom.mapr.kwps.KTopicsAdmin- Throws:
java.io.IOException
-
-