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