Class CreateTopicsOptions

    • Constructor Detail

      • CreateTopicsOptions

        public CreateTopicsOptions()
    • Method Detail

      • validateOnly

        public CreateTopicsOptions validateOnly​(boolean validateOnly)
        Set to true if the request should be validated without creating the topic.
      • shouldValidateOnly

        public boolean shouldValidateOnly()
        Return true if the request should be validated without creating the topic.
      • retryOnQuotaViolation

        public CreateTopicsOptions retryOnQuotaViolation​(boolean retryOnQuotaViolation)
        Set to true if quota violation should be automatically retried.
      • shouldRetryOnQuotaViolation

        public boolean shouldRetryOnQuotaViolation()
        Returns true if quota violation should be automatically retried.