Package org.apache.kafka.clients.admin
Class CreatePartitionsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<CreatePartitionsOptions>
org.apache.kafka.clients.admin.CreatePartitionsOptions
Options for 
Admin.createPartitions(Map).
 The API of this class is evolving, see Admin for details.- 
Field SummaryFields inherited from class org.apache.kafka.clients.admin.AbstractOptionstimeoutMs
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionretryOnQuotaViolation(boolean retryOnQuotaViolation) Set to true if quota violation should be automatically retried.booleanReturns true if quota violation should be automatically retried.booleanReturn true if the request should be validated without creating new partitions.validateOnly(boolean validateOnly) Set to true if the request should be validated without creating new partitions.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptionstimeoutMs, timeoutMs
- 
Constructor Details- 
CreatePartitionsOptionspublic CreatePartitionsOptions()
 
- 
- 
Method Details- 
validateOnlypublic boolean validateOnly()Return true if the request should be validated without creating new partitions.
- 
validateOnlySet to true if the request should be validated without creating new partitions.
- 
retryOnQuotaViolationSet to true if quota violation should be automatically retried.
- 
shouldRetryOnQuotaViolationpublic boolean shouldRetryOnQuotaViolation()Returns true if quota violation should be automatically retried.
 
-