Class JsonSchemaKafkaConnect


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class JsonSchemaKafkaConnect
    extends Object
    JsonSchemaKafkaConnect
    • Field Detail

      • JSON_PROPERTY_PRODUCER_BUFFER_MEMORY

        public static final String JSON_PROPERTY_PRODUCER_BUFFER_MEMORY
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSUMER_MAX_POLL_INTERVAL_MS

        public static final String JSON_PROPERTY_CONSUMER_MAX_POLL_INTERVAL_MS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_PRODUCER_COMPRESSION_TYPE

        public static final String JSON_PROPERTY_PRODUCER_COMPRESSION_TYPE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONNECTOR_CLIENT_CONFIG_OVERRIDE_POLICY

        public static final String JSON_PROPERTY_CONNECTOR_CLIENT_CONFIG_OVERRIDE_POLICY
        See Also:
        Constant Field Values
      • JSON_PROPERTY_OFFSET_FLUSH_INTERVAL_MS

        public static final String JSON_PROPERTY_OFFSET_FLUSH_INTERVAL_MS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SCHEDULED_REBALANCE_MAX_DELAY_MS

        public static final String JSON_PROPERTY_SCHEDULED_REBALANCE_MAX_DELAY_MS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSUMER_FETCH_MAX_BYTES

        public static final String JSON_PROPERTY_CONSUMER_FETCH_MAX_BYTES
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSUMER_MAX_PARTITION_FETCH_BYTES

        public static final String JSON_PROPERTY_CONSUMER_MAX_PARTITION_FETCH_BYTES
        See Also:
        Constant Field Values
      • JSON_PROPERTY_OFFSET_FLUSH_TIMEOUT_MS

        public static final String JSON_PROPERTY_OFFSET_FLUSH_TIMEOUT_MS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSUMER_AUTO_OFFSET_RESET

        public static final String JSON_PROPERTY_CONSUMER_AUTO_OFFSET_RESET
        See Also:
        Constant Field Values
      • JSON_PROPERTY_PRODUCER_MAX_REQUEST_SIZE

        public static final String JSON_PROPERTY_PRODUCER_MAX_REQUEST_SIZE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSUMER_ISOLATION_LEVEL

        public static final String JSON_PROPERTY_CONSUMER_ISOLATION_LEVEL
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CONSUMER_MAX_POLL_RECORDS

        public static final String JSON_PROPERTY_CONSUMER_MAX_POLL_RECORDS
        See Also:
        Constant Field Values
    • Constructor Detail

      • JsonSchemaKafkaConnect

        public JsonSchemaKafkaConnect()
    • Method Detail

      • getProducerBufferMemory

        @Nullable
        public Integer getProducerBufferMemory()
        The total bytes of memory the producer can use to buffer records waiting to be sent to the broker (defaults to 33554432). minimum: 5242880 maximum: 134217728
        Returns:
        producerBufferMemory
      • setProducerBufferMemory

        public void setProducerBufferMemory​(Integer producerBufferMemory)
      • getConsumerMaxPollIntervalMs

        @Nullable
        public Integer getConsumerMaxPollIntervalMs()
        The maximum delay in milliseconds between invocations of poll() when using consumer group management (defaults to 300000). minimum: 1 maximum: 2147483647
        Returns:
        consumerMaxPollIntervalMs
      • setConsumerMaxPollIntervalMs

        public void setConsumerMaxPollIntervalMs​(Integer consumerMaxPollIntervalMs)
      • getProducerCompressionType

        @Nullable
        public JsonSchemaKafkaConnect.ProducerCompressionTypeEnum getProducerCompressionType()
        Specify the default compression type for producers. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'none' which is the default and equivalent to no compression.
        Returns:
        producerCompressionType
      • getOffsetFlushIntervalMs

        @Nullable
        public Integer getOffsetFlushIntervalMs()
        The interval at which to try committing offsets for tasks (defaults to 60000). minimum: 1 maximum: 100000000
        Returns:
        offsetFlushIntervalMs
      • setOffsetFlushIntervalMs

        public void setOffsetFlushIntervalMs​(Integer offsetFlushIntervalMs)
      • getScheduledRebalanceMaxDelayMs

        @Nullable
        public Integer getScheduledRebalanceMaxDelayMs()
        The maximum delay that is scheduled in order to wait for the return of one or more departed workers before rebalancing and reassigning their connectors and tasks to the group. During this period the connectors and tasks of the departed workers remain unassigned. Defaults to 5 minutes. minimum: 0 maximum: 600000
        Returns:
        scheduledRebalanceMaxDelayMs
      • setScheduledRebalanceMaxDelayMs

        public void setScheduledRebalanceMaxDelayMs​(Integer scheduledRebalanceMaxDelayMs)
      • getConsumerFetchMaxBytes

        @Nullable
        public Integer getConsumerFetchMaxBytes()
        Records are fetched in batches by the consumer, and if the first record batch in the first non-empty partition of the fetch is larger than this value, the record batch will still be returned to ensure that the consumer can make progress. As such, this is not a absolute maximum. minimum: 1048576 maximum: 104857600
        Returns:
        consumerFetchMaxBytes
      • setConsumerFetchMaxBytes

        public void setConsumerFetchMaxBytes​(Integer consumerFetchMaxBytes)
      • getConsumerMaxPartitionFetchBytes

        @Nullable
        public Integer getConsumerMaxPartitionFetchBytes()
        Records are fetched in batches by the consumer.If the first record batch in the first non-empty partition of the fetch is larger than this limit, the batch will still be returned to ensure that the consumer can make progress. minimum: 1048576 maximum: 104857600
        Returns:
        consumerMaxPartitionFetchBytes
      • setConsumerMaxPartitionFetchBytes

        public void setConsumerMaxPartitionFetchBytes​(Integer consumerMaxPartitionFetchBytes)
      • getOffsetFlushTimeoutMs

        @Nullable
        public Integer getOffsetFlushTimeoutMs()
        Maximum number of milliseconds to wait for records to flush and partition offset data to be committed to offset storage before cancelling the process and restoring the offset data to be committed in a future attempt (defaults to 5000). minimum: 1 maximum: 2147483647
        Returns:
        offsetFlushTimeoutMs
      • setOffsetFlushTimeoutMs

        public void setOffsetFlushTimeoutMs​(Integer offsetFlushTimeoutMs)
      • getConsumerAutoOffsetReset

        @Nullable
        public JsonSchemaKafkaConnect.ConsumerAutoOffsetResetEnum getConsumerAutoOffsetReset()
        What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server. Default is earliest
        Returns:
        consumerAutoOffsetReset
      • getProducerMaxRequestSize

        @Nullable
        public Integer getProducerMaxRequestSize()
        This setting will limit the number of record batches the producer will send in a single request to avoid sending huge requests. minimum: 131072 maximum: 67108864
        Returns:
        producerMaxRequestSize
      • setProducerMaxRequestSize

        public void setProducerMaxRequestSize​(Integer producerMaxRequestSize)
      • getProducerBatchSize

        @Nullable
        public Integer getProducerBatchSize()
        This setting gives the upper bound of the batch size to be sent. If there are fewer than this many bytes accumulated for this partition, the producer will 'linger' for the linger.ms time waiting for more records to show up. A batch size of zero will disable batching entirely (defaults to 16384). minimum: 0 maximum: 5242880
        Returns:
        producerBatchSize
      • setProducerBatchSize

        public void setProducerBatchSize​(Integer producerBatchSize)
      • getSessionTimeoutMs

        @Nullable
        public Integer getSessionTimeoutMs()
        The timeout in milliseconds used to detect failures when using Kafka’s group management facilities (defaults to 10000). minimum: 1 maximum: 2147483647
        Returns:
        sessionTimeoutMs
      • setSessionTimeoutMs

        public void setSessionTimeoutMs​(Integer sessionTimeoutMs)
      • getProducerLingerMs

        @Nullable
        public Integer getProducerLingerMs()
        This setting gives the upper bound on the delay for batching: once there is batch.size worth of records for a partition it will be sent immediately regardless of this setting, however if there are fewer than this many bytes accumulated for this partition the producer will 'linger' for the specified time waiting for more records to show up. Defaults to 0. minimum: 0 maximum: 5000
        Returns:
        producerLingerMs
      • setProducerLingerMs

        public void setProducerLingerMs​(Integer producerLingerMs)
      • getConsumerIsolationLevel

        @Nullable
        public JsonSchemaKafkaConnect.ConsumerIsolationLevelEnum getConsumerIsolationLevel()
        Transaction read isolation level. read_uncommitted is the default, but read_committed can be used if consume-exactly-once behavior is desired.
        Returns:
        consumerIsolationLevel
      • getConsumerMaxPollRecords

        @Nullable
        public Integer getConsumerMaxPollRecords()
        The maximum number of records returned in a single call to poll() (defaults to 500). minimum: 1 maximum: 10000
        Returns:
        consumerMaxPollRecords
      • setConsumerMaxPollRecords

        public void setConsumerMaxPollRecords​(Integer consumerMaxPollRecords)
      • equals

        public boolean equals​(Object o)
        Return true if this json-schema-kafka-connect object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string