Package com.exoscale.sdk.model
Class JsonSchemaKafkaConnect
java.lang.Object
com.exoscale.sdk.model.JsonSchemaKafkaConnect
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class JsonSchemaKafkaConnect
extends Object
JsonSchemaKafkaConnect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Defines what client configurations can be overridden by the connector.static enum
What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server.static enum
Transaction read isolation level.static enum
Specify the default compression type for producers. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectorClientConfigOverridePolicy
(JsonSchemaKafkaConnect.ConnectorClientConfigOverridePolicyEnum connectorClientConfigOverridePolicy) consumerAutoOffsetReset
(JsonSchemaKafkaConnect.ConsumerAutoOffsetResetEnum consumerAutoOffsetReset) consumerFetchMaxBytes
(Integer consumerFetchMaxBytes) consumerIsolationLevel
(JsonSchemaKafkaConnect.ConsumerIsolationLevelEnum consumerIsolationLevel) consumerMaxPartitionFetchBytes
(Integer consumerMaxPartitionFetchBytes) consumerMaxPollIntervalMs
(Integer consumerMaxPollIntervalMs) consumerMaxPollRecords
(Integer consumerMaxPollRecords) boolean
Return true if this json-schema-kafka-connect object is equal to o.Defines what client configurations can be overridden by the connector.What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server.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.Transaction read isolation level.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.The maximum delay in milliseconds between invocations of poll() when using consumer group management (defaults to 300000).The maximum number of records returned in a single call to poll() (defaults to 500).The interval at which to try committing offsets for tasks (defaults to 60000).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).This setting gives the upper bound of the batch size to be sent.The total bytes of memory the producer can use to buffer records waiting to be sent to the broker (defaults to 33554432).Specify the default compression type for producers.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.This setting will limit the number of record batches the producer will send in a single request to avoid sending huge requests.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.The timeout in milliseconds used to detect failures when using Kafka’s group management facilities (defaults to 10000).int
hashCode()
offsetFlushIntervalMs
(Integer offsetFlushIntervalMs) offsetFlushTimeoutMs
(Integer offsetFlushTimeoutMs) producerBatchSize
(Integer producerBatchSize) producerBufferMemory
(Integer producerBufferMemory) producerCompressionType
(JsonSchemaKafkaConnect.ProducerCompressionTypeEnum producerCompressionType) producerLingerMs
(Integer producerLingerMs) producerMaxRequestSize
(Integer producerMaxRequestSize) scheduledRebalanceMaxDelayMs
(Integer scheduledRebalanceMaxDelayMs) sessionTimeoutMs
(Integer sessionTimeoutMs) void
setConnectorClientConfigOverridePolicy
(JsonSchemaKafkaConnect.ConnectorClientConfigOverridePolicyEnum connectorClientConfigOverridePolicy) void
setConsumerAutoOffsetReset
(JsonSchemaKafkaConnect.ConsumerAutoOffsetResetEnum consumerAutoOffsetReset) void
setConsumerFetchMaxBytes
(Integer consumerFetchMaxBytes) void
setConsumerIsolationLevel
(JsonSchemaKafkaConnect.ConsumerIsolationLevelEnum consumerIsolationLevel) void
setConsumerMaxPartitionFetchBytes
(Integer consumerMaxPartitionFetchBytes) void
setConsumerMaxPollIntervalMs
(Integer consumerMaxPollIntervalMs) void
setConsumerMaxPollRecords
(Integer consumerMaxPollRecords) void
setOffsetFlushIntervalMs
(Integer offsetFlushIntervalMs) void
setOffsetFlushTimeoutMs
(Integer offsetFlushTimeoutMs) void
setProducerBatchSize
(Integer producerBatchSize) void
setProducerBufferMemory
(Integer producerBufferMemory) void
setProducerCompressionType
(JsonSchemaKafkaConnect.ProducerCompressionTypeEnum producerCompressionType) void
setProducerLingerMs
(Integer producerLingerMs) void
setProducerMaxRequestSize
(Integer producerMaxRequestSize) void
setScheduledRebalanceMaxDelayMs
(Integer scheduledRebalanceMaxDelayMs) void
setSessionTimeoutMs
(Integer sessionTimeoutMs) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PRODUCER_BUFFER_MEMORY
- See Also:
-
JSON_PROPERTY_CONSUMER_MAX_POLL_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_PRODUCER_COMPRESSION_TYPE
- See Also:
-
JSON_PROPERTY_CONNECTOR_CLIENT_CONFIG_OVERRIDE_POLICY
- See Also:
-
JSON_PROPERTY_OFFSET_FLUSH_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_SCHEDULED_REBALANCE_MAX_DELAY_MS
- See Also:
-
JSON_PROPERTY_CONSUMER_FETCH_MAX_BYTES
- See Also:
-
JSON_PROPERTY_CONSUMER_MAX_PARTITION_FETCH_BYTES
- See Also:
-
JSON_PROPERTY_OFFSET_FLUSH_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_CONSUMER_AUTO_OFFSET_RESET
- See Also:
-
JSON_PROPERTY_PRODUCER_MAX_REQUEST_SIZE
- See Also:
-
JSON_PROPERTY_PRODUCER_BATCH_SIZE
- See Also:
-
JSON_PROPERTY_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_PRODUCER_LINGER_MS
- See Also:
-
JSON_PROPERTY_CONSUMER_ISOLATION_LEVEL
- See Also:
-
JSON_PROPERTY_CONSUMER_MAX_POLL_RECORDS
- See Also:
-
-
Constructor Details
-
JsonSchemaKafkaConnect
public JsonSchemaKafkaConnect()
-
-
Method Details
-
producerBufferMemory
-
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
-
consumerMaxPollIntervalMs
-
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
-
producerCompressionType
public JsonSchemaKafkaConnect producerCompressionType(JsonSchemaKafkaConnect.ProducerCompressionTypeEnum producerCompressionType) -
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
-
setProducerCompressionType
public void setProducerCompressionType(JsonSchemaKafkaConnect.ProducerCompressionTypeEnum producerCompressionType) -
connectorClientConfigOverridePolicy
public JsonSchemaKafkaConnect connectorClientConfigOverridePolicy(JsonSchemaKafkaConnect.ConnectorClientConfigOverridePolicyEnum connectorClientConfigOverridePolicy) -
getConnectorClientConfigOverridePolicy
@Nullable public JsonSchemaKafkaConnect.ConnectorClientConfigOverridePolicyEnum getConnectorClientConfigOverridePolicy()Defines what client configurations can be overridden by the connector. Default is None- Returns:
- connectorClientConfigOverridePolicy
-
setConnectorClientConfigOverridePolicy
public void setConnectorClientConfigOverridePolicy(JsonSchemaKafkaConnect.ConnectorClientConfigOverridePolicyEnum connectorClientConfigOverridePolicy) -
offsetFlushIntervalMs
-
getOffsetFlushIntervalMs
The interval at which to try committing offsets for tasks (defaults to 60000). minimum: 1 maximum: 100000000- Returns:
- offsetFlushIntervalMs
-
setOffsetFlushIntervalMs
-
scheduledRebalanceMaxDelayMs
-
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
-
consumerFetchMaxBytes
-
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
-
consumerMaxPartitionFetchBytes
public JsonSchemaKafkaConnect consumerMaxPartitionFetchBytes(Integer consumerMaxPartitionFetchBytes) -
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
-
offsetFlushTimeoutMs
-
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
-
consumerAutoOffsetReset
public JsonSchemaKafkaConnect consumerAutoOffsetReset(JsonSchemaKafkaConnect.ConsumerAutoOffsetResetEnum consumerAutoOffsetReset) -
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
-
setConsumerAutoOffsetReset
public void setConsumerAutoOffsetReset(JsonSchemaKafkaConnect.ConsumerAutoOffsetResetEnum consumerAutoOffsetReset) -
producerMaxRequestSize
-
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
-
producerBatchSize
-
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
-
sessionTimeoutMs
-
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
-
producerLingerMs
-
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
-
consumerIsolationLevel
public JsonSchemaKafkaConnect consumerIsolationLevel(JsonSchemaKafkaConnect.ConsumerIsolationLevelEnum consumerIsolationLevel) -
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
-
setConsumerIsolationLevel
public void setConsumerIsolationLevel(JsonSchemaKafkaConnect.ConsumerIsolationLevelEnum consumerIsolationLevel) -
consumerMaxPollRecords
-
getConsumerMaxPollRecords
The maximum number of records returned in a single call to poll() (defaults to 500). minimum: 1 maximum: 10000- Returns:
- consumerMaxPollRecords
-
setConsumerMaxPollRecords
-
equals
Return true if this json-schema-kafka-connect object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-