@InterfaceStability.Evolving public class CreatePartitionsOptions extends AbstractOptions<CreatePartitionsOptions>
AdminClient.createPartitions(Map)
.
The API of this class is evolving, see AdminClient
for details.timeoutMs
Constructor and Description |
---|
CreatePartitionsOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
validateOnly()
Return true if the request should be validated without creating new partitions.
|
CreatePartitionsOptions |
validateOnly(boolean validateOnly)
Set to true if the request should be validated without creating new partitions.
|
timeoutMs, timeoutMs
public boolean validateOnly()
public CreatePartitionsOptions validateOnly(boolean validateOnly)