Class AlterMirrorsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<AlterMirrorsOptions>
org.apache.kafka.clients.admin.AlterMirrorsOptions
Options for
ConfluentAdmin.alterMirrors(List, AlterMirrorsOptions)
.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
For TRUNCATE_AND_RESTORE, whether to include partition-level information about the truncated data in the response.includePartitionLevelTruncationData
(boolean includePartitionLevelTruncationData) Sets the value of includePartitionLevelTruncationDatalinkName()
The link name associated with the mirror topics, only relevant for TRUNCATE_AND_RESTORESets the link nameboolean
Whether to validate the mirror control operation, but not actually perform it.validateOnly
(boolean validateOnly) Sets whether to validate the mirror control operation, but not actually perform it.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
Constructor Details
-
AlterMirrorsOptions
public AlterMirrorsOptions()
-
-
Method Details
-
validateOnly
public boolean validateOnly()Whether to validate the mirror control operation, but not actually perform it. -
linkName
The link name associated with the mirror topics, only relevant for TRUNCATE_AND_RESTORE -
includePartitionLevelTruncationData
public boolean includePartitionLevelTruncationData()For TRUNCATE_AND_RESTORE, whether to include partition-level information about the truncated data in the response. -
validateOnly
Sets whether to validate the mirror control operation, but not actually perform it. -
linkName
Sets the link name -
includePartitionLevelTruncationData
public AlterMirrorsOptions includePartitionLevelTruncationData(boolean includePartitionLevelTruncationData) Sets the value of includePartitionLevelTruncationData
-