Class AlterConfigsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<AlterConfigsOptions>
org.apache.kafka.clients.admin.AlterConfigsOptions
Options for
Admin.incrementalAlterConfigs(Map).Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleanReturn true if the request should be validated without altering the configs.Set the timeout in milliseconds for this operation ornullif the default api timeout for the AdminClient should be used.validateOnly(boolean validateOnly) Set to true if the request should be validated without altering the configs.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
Constructor Details
AlterConfigsOptions
public AlterConfigsOptions()
Method Details
timeoutMs
Set the timeout in milliseconds for this operation ornullif the default api timeout for the AdminClient should be used.- Overrides:
timeoutMsin classAbstractOptions<AlterConfigsOptions>
shouldValidateOnly
public boolean shouldValidateOnly()Return true if the request should be validated without altering the configs.validateOnly
Set to true if the request should be validated without altering the configs.