Package org.apache.kafka.clients.admin
Class AlterConfigsOptions
- java.lang.Object
-
- org.apache.kafka.clients.admin.AbstractOptions<AlterConfigsOptions>
-
- org.apache.kafka.clients.admin.AlterConfigsOptions
-
@Evolving public class AlterConfigsOptions extends AbstractOptions<AlterConfigsOptions>
Options forAdminClient.alterConfigs(Map)
. The API of this class is evolving, seeAdminClient
for details.
-
-
Field Summary
-
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
-
Constructor Summary
Constructors Constructor Description AlterConfigsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldValidateOnly()
Return true if the request should be validated without altering the configs.AlterConfigsOptions
timeoutMs(java.lang.Integer timeoutMs)
Set the request timeout in milliseconds for this operation ornull
if the default request timeout for the AdminClient should be used.AlterConfigsOptions
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
-
-
-
-
Method Detail
-
timeoutMs
public AlterConfigsOptions timeoutMs(java.lang.Integer timeoutMs)
Set the request timeout in milliseconds for this operation ornull
if the default request timeout for the AdminClient should be used.- Overrides:
timeoutMs
in classAbstractOptions<AlterConfigsOptions>
-
shouldValidateOnly
public boolean shouldValidateOnly()
Return true if the request should be validated without altering the configs.
-
validateOnly
public AlterConfigsOptions validateOnly(boolean validateOnly)
Set to true if the request should be validated without altering the configs.
-
-