@Evolving public class CreatePartitionsOptions extends AbstractOptions<CreatePartitionsOptions>
AdminClient.createPartitions(Map).
The API of this class is evolving, see AdminClient for details.timeoutMs| Constructor | Description |
|---|---|
CreatePartitionsOptions() |
| Modifier and Type | Method | 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, timeoutMspublic boolean validateOnly()
public CreatePartitionsOptions validateOnly(boolean validateOnly)