Package org.apache.kafka.clients.admin
Class CreateTopicsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<CreateTopicsOptions>
org.apache.kafka.clients.admin.CreateTopicsOptions
Options for 
Admin.createTopics(Collection).
 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 the topic.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 creating the topic.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptionstimeoutMs
- 
Constructor Details- 
CreateTopicsOptionspublic CreateTopicsOptions()
 
- 
- 
Method Details- 
timeoutMsSet the timeout in milliseconds for this operation ornullif the default api timeout for the AdminClient should be used.- Overrides:
- timeoutMsin class- AbstractOptions<CreateTopicsOptions>
 
- 
validateOnlySet to true if the request should be validated without creating the topic.
- 
shouldValidateOnlypublic boolean shouldValidateOnly()Return true if the request should be validated without creating the topic.
- 
retryOnQuotaViolationSet to true if quota violation should be automatically retried.
- 
shouldRetryOnQuotaViolationpublic boolean shouldRetryOnQuotaViolation()Returns true if quota violation should be automatically retried.
 
-