Class JsonSchemaKafka
java.lang.Object
com.exoscale.sdk.model.JsonSchemaKafka
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class JsonSchemaKafka
extends Object
JsonSchemaKafka
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecify the final compression type for a given topic.static enumThe enabled consumer group rebalance protocols.static enumDefine whether the timestamp in the message is message create time or log append time. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauditLog(KafkaAuditLoggingConfiguration auditLog) autoCreateTopicsEnable(Boolean autoCreateTopicsEnable) compressionType(JsonSchemaKafka.CompressionTypeEnum compressionType) connectionsMaxIdleMs(Integer connectionsMaxIdleMs) defaultReplicationFactor(Integer defaultReplicationFactor) booleanReturn true if this json-schema-kafka object is equal to o.Get auditLogEnable auto creation of topicsSpecify the final compression type for a given topic.Idle connections timeout: the server socket processor threads close the connections that idle for longer than this.Replication factor for autocreated topics minimum: 1 maximum: 10The heartbeat interval given to the members of a consumer group using the consumer rebalance protocol.The maximum heartbeat interval allowed for consumer group members using the consumer rebalance protocol.The maximum session timeout allowed for consumer group members using the consumer rebalance protocol.The minimum heartbeat interval allowed for consumer group members using the consumer rebalance protocol.The minimum session timeout allowed for consumer group members using the consumer rebalance protocol.The timeout used to detect consumer group member failures when using the consumer rebalance protocol.The enabled consumer group rebalance protocols.The amount of time, in milliseconds, the group coordinator will wait for more consumers to join a new group before performing the first rebalance.The maximum allowed session timeout for registered consumers.The minimum allowed session timeout for registered consumers.The maximum delivery attempts for a share-group record.The heartbeat interval used by share group members.The maximum number of share groups allowed on the broker.The maximum heartbeat interval allowed for share group members.The maximum record lock duration allowed for share groups.The maximum session timeout allowed for share group members.The maximum number of members allowed in a share group.The minimum heartbeat interval allowed for share group members.The minimum record lock duration allowed for share groups.The minimum session timeout allowed for share group members.The maximum number of record locks allowed per share group partition.The duration for which a fetched share-group record is locked.The timeout used to detect share group member failures.Get logCleanupAndCompactionThe number of messages accumulated on a log partition before messages are flushed to disk minimum: 1 maximum: 9223372036854775807The maximum time in ms that a message in any topic is kept in memory before flushed to disk.The interval with which Kafka adds an entry to the offset index minimum: 0 maximum: 104857600The maximum size in bytes of the offset index minimum: 1048576 maximum: 104857600The maximum size of local log segments that can grow for a partition before it gets eligible for deletion.The number of milliseconds to keep the local log segments before it gets eligible for deletion.This configuration controls whether down-conversion of message formats is enabled to satisfy consume requests.The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message.The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message.The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message minimum: 0 maximum: 9223372036854775807Define whether the timestamp in the message is message create time or log append time.Should pre allocate file when create new segment?The maximum size of the log before deleting messages minimum: -1 maximum: 9223372036854775807The number of hours to keep a log file before deleting it minimum: -1 maximum: 2147483647The number of milliseconds to keep a log file before deleting it (in milliseconds), If not set, the value in log.retention.minutes is used.The maximum jitter to subtract from logRollTimeMillis (in milliseconds).The maximum time before a new log segment is rolled out (in milliseconds).The maximum size of a single log file minimum: 10485760 maximum: 1073741824The amount of time to wait before deleting a file from the filesystem minimum: 0 maximum: 3600000The maximum number of connections allowed from each ip address (defaults to 2147483647).The maximum number of incremental fetch sessions that the broker will maintain.The maximum size of message that the server can receive.When a producer sets acks to 'all' (or '-1'), min.insync.replicas specifies the minimum number of replicas that must acknowledge a write for the write to be considered successful.Number of partitions for autocreated topics minimum: 1 maximum: 1000Log retention window in minutes for offsets topic minimum: 1 maximum: 2147483647The purge interval (in number of requests) of the producer request purgatory(defaults to 1000).The number of bytes of messages to attempt to fetch for each partition (defaults to 1048576).Maximum bytes expected for the entire fetch response (defaults to 10485760).Accept tokens whatever their audience when sasl_oauthbearer_expected_audience is not set.Accept tokens whatever their issuer when sasl_oauthbearer_expected_issuer is not set.The (optional) comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences.Optional setting for the broker to use to verify that the JWT was created by the expected issuer.OIDC JWKS endpoint URL.Name of the scope from which to extract the subject claim from the JWT.The maximum number of bytes in a socket request (defaults to 104857600).Enable verification that checks that the partition has been added to the transaction before writing transactional records to the partitionThe interval at which to remove transactions that have expired due to transactional.id.expiration.ms passing (defaults to 3600000 (1 hour)).The transaction topic segment bytes should be kept relatively small in order to facilitate faster log compaction and cache loads (defaults to 104857600 (100 mebibytes)).groupConsumerHeartbeatIntervalMs(Integer groupConsumerHeartbeatIntervalMs) groupConsumerMaxHeartbeatIntervalMs(Integer groupConsumerMaxHeartbeatIntervalMs) groupConsumerMaxSessionTimeoutMs(Integer groupConsumerMaxSessionTimeoutMs) groupConsumerMinHeartbeatIntervalMs(Integer groupConsumerMinHeartbeatIntervalMs) groupConsumerMinSessionTimeoutMs(Integer groupConsumerMinSessionTimeoutMs) groupConsumerSessionTimeoutMs(Integer groupConsumerSessionTimeoutMs) groupCoordinatorRebalanceProtocols(JsonSchemaKafka.GroupCoordinatorRebalanceProtocolsEnum groupCoordinatorRebalanceProtocols) groupInitialRebalanceDelayMs(Integer groupInitialRebalanceDelayMs) groupMaxSessionTimeoutMs(Integer groupMaxSessionTimeoutMs) groupMinSessionTimeoutMs(Integer groupMinSessionTimeoutMs) groupShareDeliveryCountLimit(Integer groupShareDeliveryCountLimit) groupShareHeartbeatIntervalMs(Integer groupShareHeartbeatIntervalMs) groupShareMaxGroups(Integer groupShareMaxGroups) groupShareMaxHeartbeatIntervalMs(Integer groupShareMaxHeartbeatIntervalMs) groupShareMaxRecordLockDurationMs(Integer groupShareMaxRecordLockDurationMs) groupShareMaxSessionTimeoutMs(Integer groupShareMaxSessionTimeoutMs) groupShareMaxSize(Integer groupShareMaxSize) groupShareMinHeartbeatIntervalMs(Integer groupShareMinHeartbeatIntervalMs) groupShareMinRecordLockDurationMs(Integer groupShareMinRecordLockDurationMs) groupShareMinSessionTimeoutMs(Integer groupShareMinSessionTimeoutMs) groupSharePartitionMaxRecordLocks(Integer groupSharePartitionMaxRecordLocks) groupShareRecordLockDurationMs(Integer groupShareRecordLockDurationMs) groupShareSessionTimeoutMs(Integer groupShareSessionTimeoutMs) inthashCode()logCleanupAndCompaction(ConfigureLogCleanerForTopicCompaction logCleanupAndCompaction) logFlushIntervalMessages(Integer logFlushIntervalMessages) logFlushIntervalMs(Integer logFlushIntervalMs) logIndexIntervalBytes(Integer logIndexIntervalBytes) logIndexSizeMaxBytes(Integer logIndexSizeMaxBytes) logLocalRetentionBytes(Integer logLocalRetentionBytes) logLocalRetentionMs(Integer logLocalRetentionMs) logMessageDownconversionEnable(Boolean logMessageDownconversionEnable) logMessageTimestampAfterMaxMs(Integer logMessageTimestampAfterMaxMs) logMessageTimestampBeforeMaxMs(Integer logMessageTimestampBeforeMaxMs) logMessageTimestampDifferenceMaxMs(Integer logMessageTimestampDifferenceMaxMs) logMessageTimestampType(JsonSchemaKafka.LogMessageTimestampTypeEnum logMessageTimestampType) logPreallocate(Boolean logPreallocate) logRetentionBytes(Integer logRetentionBytes) logRetentionHours(Integer logRetentionHours) logRetentionMs(Integer logRetentionMs) logRollJitterMs(Integer logRollJitterMs) logSegmentBytes(Integer logSegmentBytes) logSegmentDeleteDelayMs(Integer logSegmentDeleteDelayMs) maxConnectionsPerIp(Integer maxConnectionsPerIp) maxIncrementalFetchSessionCacheSlots(Integer maxIncrementalFetchSessionCacheSlots) messageMaxBytes(Integer messageMaxBytes) minInsyncReplicas(Integer minInsyncReplicas) numPartitions(Integer numPartitions) offsetsRetentionMinutes(Integer offsetsRetentionMinutes) producerPurgatoryPurgeIntervalRequests(Integer producerPurgatoryPurgeIntervalRequests) replicaFetchMaxBytes(Integer replicaFetchMaxBytes) replicaFetchResponseMaxBytes(Integer replicaFetchResponseMaxBytes) saslOauthbearerAllowUnverifiedAudience(Boolean saslOauthbearerAllowUnverifiedAudience) saslOauthbearerAllowUnverifiedIssuer(Boolean saslOauthbearerAllowUnverifiedIssuer) saslOauthbearerExpectedAudience(String saslOauthbearerExpectedAudience) saslOauthbearerExpectedIssuer(String saslOauthbearerExpectedIssuer) saslOauthbearerJwksEndpointUrl(String saslOauthbearerJwksEndpointUrl) saslOauthbearerSubClaimName(String saslOauthbearerSubClaimName) voidsetAuditLog(KafkaAuditLoggingConfiguration auditLog) voidsetAutoCreateTopicsEnable(Boolean autoCreateTopicsEnable) voidsetCompressionType(JsonSchemaKafka.CompressionTypeEnum compressionType) voidsetConnectionsMaxIdleMs(Integer connectionsMaxIdleMs) voidsetDefaultReplicationFactor(Integer defaultReplicationFactor) voidsetGroupConsumerHeartbeatIntervalMs(Integer groupConsumerHeartbeatIntervalMs) voidsetGroupConsumerMaxHeartbeatIntervalMs(Integer groupConsumerMaxHeartbeatIntervalMs) voidsetGroupConsumerMaxSessionTimeoutMs(Integer groupConsumerMaxSessionTimeoutMs) voidsetGroupConsumerMinHeartbeatIntervalMs(Integer groupConsumerMinHeartbeatIntervalMs) voidsetGroupConsumerMinSessionTimeoutMs(Integer groupConsumerMinSessionTimeoutMs) voidsetGroupConsumerSessionTimeoutMs(Integer groupConsumerSessionTimeoutMs) voidsetGroupCoordinatorRebalanceProtocols(JsonSchemaKafka.GroupCoordinatorRebalanceProtocolsEnum groupCoordinatorRebalanceProtocols) voidsetGroupInitialRebalanceDelayMs(Integer groupInitialRebalanceDelayMs) voidsetGroupMaxSessionTimeoutMs(Integer groupMaxSessionTimeoutMs) voidsetGroupMinSessionTimeoutMs(Integer groupMinSessionTimeoutMs) voidsetGroupShareDeliveryCountLimit(Integer groupShareDeliveryCountLimit) voidsetGroupShareHeartbeatIntervalMs(Integer groupShareHeartbeatIntervalMs) voidsetGroupShareMaxGroups(Integer groupShareMaxGroups) voidsetGroupShareMaxHeartbeatIntervalMs(Integer groupShareMaxHeartbeatIntervalMs) voidsetGroupShareMaxRecordLockDurationMs(Integer groupShareMaxRecordLockDurationMs) voidsetGroupShareMaxSessionTimeoutMs(Integer groupShareMaxSessionTimeoutMs) voidsetGroupShareMaxSize(Integer groupShareMaxSize) voidsetGroupShareMinHeartbeatIntervalMs(Integer groupShareMinHeartbeatIntervalMs) voidsetGroupShareMinRecordLockDurationMs(Integer groupShareMinRecordLockDurationMs) voidsetGroupShareMinSessionTimeoutMs(Integer groupShareMinSessionTimeoutMs) voidsetGroupSharePartitionMaxRecordLocks(Integer groupSharePartitionMaxRecordLocks) voidsetGroupShareRecordLockDurationMs(Integer groupShareRecordLockDurationMs) voidsetGroupShareSessionTimeoutMs(Integer groupShareSessionTimeoutMs) voidsetLogCleanupAndCompaction(ConfigureLogCleanerForTopicCompaction logCleanupAndCompaction) voidsetLogFlushIntervalMessages(Integer logFlushIntervalMessages) voidsetLogFlushIntervalMs(Integer logFlushIntervalMs) voidsetLogIndexIntervalBytes(Integer logIndexIntervalBytes) voidsetLogIndexSizeMaxBytes(Integer logIndexSizeMaxBytes) voidsetLogLocalRetentionBytes(Integer logLocalRetentionBytes) voidsetLogLocalRetentionMs(Integer logLocalRetentionMs) voidsetLogMessageDownconversionEnable(Boolean logMessageDownconversionEnable) voidsetLogMessageTimestampAfterMaxMs(Integer logMessageTimestampAfterMaxMs) voidsetLogMessageTimestampBeforeMaxMs(Integer logMessageTimestampBeforeMaxMs) voidsetLogMessageTimestampDifferenceMaxMs(Integer logMessageTimestampDifferenceMaxMs) voidsetLogMessageTimestampType(JsonSchemaKafka.LogMessageTimestampTypeEnum logMessageTimestampType) voidsetLogPreallocate(Boolean logPreallocate) voidsetLogRetentionBytes(Integer logRetentionBytes) voidsetLogRetentionHours(Integer logRetentionHours) voidsetLogRetentionMs(Integer logRetentionMs) voidsetLogRollJitterMs(Integer logRollJitterMs) voidsetLogRollMs(Integer logRollMs) voidsetLogSegmentBytes(Integer logSegmentBytes) voidsetLogSegmentDeleteDelayMs(Integer logSegmentDeleteDelayMs) voidsetMaxConnectionsPerIp(Integer maxConnectionsPerIp) voidsetMaxIncrementalFetchSessionCacheSlots(Integer maxIncrementalFetchSessionCacheSlots) voidsetMessageMaxBytes(Integer messageMaxBytes) voidsetMinInsyncReplicas(Integer minInsyncReplicas) voidsetNumPartitions(Integer numPartitions) voidsetOffsetsRetentionMinutes(Integer offsetsRetentionMinutes) voidsetProducerPurgatoryPurgeIntervalRequests(Integer producerPurgatoryPurgeIntervalRequests) voidsetReplicaFetchMaxBytes(Integer replicaFetchMaxBytes) voidsetReplicaFetchResponseMaxBytes(Integer replicaFetchResponseMaxBytes) voidsetSaslOauthbearerAllowUnverifiedAudience(Boolean saslOauthbearerAllowUnverifiedAudience) voidsetSaslOauthbearerAllowUnverifiedIssuer(Boolean saslOauthbearerAllowUnverifiedIssuer) voidsetSaslOauthbearerExpectedAudience(String saslOauthbearerExpectedAudience) voidsetSaslOauthbearerExpectedIssuer(String saslOauthbearerExpectedIssuer) voidsetSaslOauthbearerJwksEndpointUrl(String saslOauthbearerJwksEndpointUrl) voidsetSaslOauthbearerSubClaimName(String saslOauthbearerSubClaimName) voidsetSocketRequestMaxBytes(Integer socketRequestMaxBytes) voidsetTransactionPartitionVerificationEnable(Boolean transactionPartitionVerificationEnable) voidsetTransactionRemoveExpiredTransactionCleanupIntervalMs(Integer transactionRemoveExpiredTransactionCleanupIntervalMs) voidsetTransactionStateLogSegmentBytes(Integer transactionStateLogSegmentBytes) socketRequestMaxBytes(Integer socketRequestMaxBytes) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.transactionPartitionVerificationEnable(Boolean transactionPartitionVerificationEnable) transactionRemoveExpiredTransactionCleanupIntervalMs(Integer transactionRemoveExpiredTransactionCleanupIntervalMs) transactionStateLogSegmentBytes(Integer transactionStateLogSegmentBytes)
-
Field Details
-
JSON_PROPERTY_GROUP_SHARE_MAX_GROUPS
- See Also:
-
JSON_PROPERTY_SASL_OAUTHBEARER_EXPECTED_AUDIENCE
- See Also:
-
JSON_PROPERTY_LOG_MESSAGE_TIMESTAMP_BEFORE_MAX_MS
- See Also:
-
JSON_PROPERTY_LOG_MESSAGE_TIMESTAMP_AFTER_MAX_MS
- See Also:
-
JSON_PROPERTY_GROUP_MAX_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_LOG_FLUSH_INTERVAL_MESSAGES
- See Also:
-
JSON_PROPERTY_SASL_OAUTHBEARER_JWKS_ENDPOINT_URL
- See Also:
-
JSON_PROPERTY_MAX_CONNECTIONS_PER_IP
- See Also:
-
JSON_PROPERTY_SASL_OAUTHBEARER_EXPECTED_ISSUER
- See Also:
-
JSON_PROPERTY_LOG_INDEX_SIZE_MAX_BYTES
- See Also:
-
JSON_PROPERTY_AUTO_CREATE_TOPICS_ENABLE
- See Also:
-
JSON_PROPERTY_LOG_INDEX_INTERVAL_BYTES
- See Also:
-
JSON_PROPERTY_GROUP_CONSUMER_HEARTBEAT_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_REPLICA_FETCH_MAX_BYTES
- See Also:
-
JSON_PROPERTY_GROUP_CONSUMER_MIN_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_NUM_PARTITIONS
- See Also:
-
JSON_PROPERTY_TRANSACTION_STATE_LOG_SEGMENT_BYTES
- See Also:
-
JSON_PROPERTY_REPLICA_FETCH_RESPONSE_MAX_BYTES
- See Also:
-
JSON_PROPERTY_LOG_MESSAGE_TIMESTAMP_TYPE
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_DELIVERY_COUNT_LIMIT
- See Also:
-
JSON_PROPERTY_CONNECTIONS_MAX_IDLE_MS
- See Also:
-
JSON_PROPERTY_LOG_FLUSH_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_GROUP_CONSUMER_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_LOG_PREALLOCATE
- See Also:
-
JSON_PROPERTY_LOG_SEGMENT_DELETE_DELAY_MS
- See Also:
-
JSON_PROPERTY_MESSAGE_MAX_BYTES
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_PARTITION_MAX_RECORD_LOCKS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MIN_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MAX_SIZE
- See Also:
-
JSON_PROPERTY_GROUP_INITIAL_REBALANCE_DELAY_MS
- See Also:
-
JSON_PROPERTY_LOG_LOCAL_RETENTION_BYTES
- See Also:
-
JSON_PROPERTY_LOG_ROLL_JITTER_MS
- See Also:
-
JSON_PROPERTY_TRANSACTION_REMOVE_EXPIRED_TRANSACTION_CLEANUP_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_SASL_OAUTHBEARER_ALLOW_UNVERIFIED_ISSUER
- See Also:
-
JSON_PROPERTY_TRANSACTION_PARTITION_VERIFICATION_ENABLE
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_HEARTBEAT_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_GROUP_CONSUMER_MAX_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_DEFAULT_REPLICATION_FACTOR
- See Also:
-
JSON_PROPERTY_LOG_ROLL_MS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_RECORD_LOCK_DURATION_MS
- See Also:
-
JSON_PROPERTY_PRODUCER_PURGATORY_PURGE_INTERVAL_REQUESTS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MAX_HEARTBEAT_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_LOG_RETENTION_BYTES
- See Also:
-
JSON_PROPERTY_MIN_INSYNC_REPLICAS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MIN_HEARTBEAT_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_AUDIT_LOG
- See Also:
-
JSON_PROPERTY_COMPRESSION_TYPE
- See Also:
-
JSON_PROPERTY_GROUP_CONSUMER_MAX_HEARTBEAT_INTERVAL_MS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_LOG_MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS
- See Also:
-
JSON_PROPERTY_LOG_LOCAL_RETENTION_MS
- See Also:
-
JSON_PROPERTY_LOG_MESSAGE_DOWNCONVERSION_ENABLE
- See Also:
-
JSON_PROPERTY_SASL_OAUTHBEARER_SUB_CLAIM_NAME
- See Also:
-
JSON_PROPERTY_MAX_INCREMENTAL_FETCH_SESSION_CACHE_SLOTS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MAX_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_LOG_RETENTION_HOURS
- See Also:
-
JSON_PROPERTY_SASL_OAUTHBEARER_ALLOW_UNVERIFIED_AUDIENCE
- See Also:
-
JSON_PROPERTY_GROUP_COORDINATOR_REBALANCE_PROTOCOLS
- See Also:
-
JSON_PROPERTY_GROUP_MIN_SESSION_TIMEOUT_MS
- See Also:
-
JSON_PROPERTY_SOCKET_REQUEST_MAX_BYTES
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MAX_RECORD_LOCK_DURATION_MS
- See Also:
-
JSON_PROPERTY_GROUP_SHARE_MIN_RECORD_LOCK_DURATION_MS
- See Also:
-
JSON_PROPERTY_LOG_SEGMENT_BYTES
- See Also:
-
JSON_PROPERTY_LOG_CLEANUP_AND_COMPACTION
- See Also:
-
JSON_PROPERTY_OFFSETS_RETENTION_MINUTES
- See Also:
-
JSON_PROPERTY_LOG_RETENTION_MS
- See Also:
-
JSON_PROPERTY_GROUP_CONSUMER_MIN_HEARTBEAT_INTERVAL_MS
- See Also:
-
-
Constructor Details
-
JsonSchemaKafka
public JsonSchemaKafka()
-
-
Method Details
-
saslOauthbearerExpectedAudience
-
getSaslOauthbearerExpectedAudience
The (optional) comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences.- Returns:
- saslOauthbearerExpectedAudience
-
setSaslOauthbearerExpectedAudience
-
logMessageTimestampBeforeMaxMs
-
getLogMessageTimestampBeforeMaxMs
The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message. If message.timestamp.type=CreateTime, a message will be rejected if the difference in timestamp exceeds this threshold. Applies only for messages with timestamps earlier than the broker's timestamp. (Default: 9223372036854775807 (Long.MAX_VALUE)) minimum: 0 maximum: 9223372036854775807- Returns:
- logMessageTimestampBeforeMaxMs
-
setLogMessageTimestampBeforeMaxMs
-
logMessageTimestampAfterMaxMs
-
getLogMessageTimestampAfterMaxMs
The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message. If message.timestamp.type=CreateTime, a message will be rejected if the difference in timestamp exceeds this threshold. Applies only for messages with timestamps later than the broker's timestamp. (Default: 9223372036854775807 (Long.MAX_VALUE)) minimum: 0 maximum: 9223372036854775807- Returns:
- logMessageTimestampAfterMaxMs
-
setLogMessageTimestampAfterMaxMs
-
groupMaxSessionTimeoutMs
-
getGroupMaxSessionTimeoutMs
The maximum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures. minimum: 0 maximum: 1800000- Returns:
- groupMaxSessionTimeoutMs
-
setGroupMaxSessionTimeoutMs
-
logFlushIntervalMessages
-
getLogFlushIntervalMessages
The number of messages accumulated on a log partition before messages are flushed to disk minimum: 1 maximum: 9223372036854775807- Returns:
- logFlushIntervalMessages
-
setLogFlushIntervalMessages
-
saslOauthbearerJwksEndpointUrl
-
getSaslOauthbearerJwksEndpointUrl
OIDC JWKS endpoint URL. By setting this the SASL SSL OAuth2/OIDC authentication is enabled. See also other options for SASL OAuth2/OIDC.- Returns:
- saslOauthbearerJwksEndpointUrl
-
setSaslOauthbearerJwksEndpointUrl
-
maxConnectionsPerIp
-
getMaxConnectionsPerIp
The maximum number of connections allowed from each ip address (defaults to 2147483647). minimum: 256 maximum: 2147483647- Returns:
- maxConnectionsPerIp
-
setMaxConnectionsPerIp
-
saslOauthbearerExpectedIssuer
-
getSaslOauthbearerExpectedIssuer
Optional setting for the broker to use to verify that the JWT was created by the expected issuer.- Returns:
- saslOauthbearerExpectedIssuer
-
setSaslOauthbearerExpectedIssuer
-
logIndexSizeMaxBytes
-
getLogIndexSizeMaxBytes
The maximum size in bytes of the offset index minimum: 1048576 maximum: 104857600- Returns:
- logIndexSizeMaxBytes
-
setLogIndexSizeMaxBytes
-
autoCreateTopicsEnable
-
getAutoCreateTopicsEnable
Enable auto creation of topics- Returns:
- autoCreateTopicsEnable
-
setAutoCreateTopicsEnable
-
logIndexIntervalBytes
-
getLogIndexIntervalBytes
The interval with which Kafka adds an entry to the offset index minimum: 0 maximum: 104857600- Returns:
- logIndexIntervalBytes
-
setLogIndexIntervalBytes
-
groupConsumerHeartbeatIntervalMs
-
getGroupConsumerHeartbeatIntervalMs
The heartbeat interval given to the members of a consumer group using the consumer rebalance protocol. Must be between group.consumer.min.heartbeat.interval.ms and group.consumer.max.heartbeat.interval.ms, and lower than group.consumer.session.timeout.ms. (Default: 5000 ms (5 seconds)) Requires Kafka 4.0 or later. minimum: 500 maximum: 1800000- Returns:
- groupConsumerHeartbeatIntervalMs
-
setGroupConsumerHeartbeatIntervalMs
-
replicaFetchMaxBytes
-
getReplicaFetchMaxBytes
The number of bytes of messages to attempt to fetch for each partition (defaults to 1048576). This is not an absolute maximum, 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 progress can be made. minimum: 1048576 maximum: 104857600- Returns:
- replicaFetchMaxBytes
-
setReplicaFetchMaxBytes
-
groupConsumerMinSessionTimeoutMs
-
getGroupConsumerMinSessionTimeoutMs
The minimum session timeout allowed for consumer group members using the consumer rebalance protocol. Must not be greater than group.consumer.max.session.timeout.ms. (Default: 45000 ms (45 seconds)) Requires Kafka 4.0 or later. minimum: 1000 maximum: 1800000- Returns:
- groupConsumerMinSessionTimeoutMs
-
setGroupConsumerMinSessionTimeoutMs
-
numPartitions
-
getNumPartitions
Number of partitions for autocreated topics minimum: 1 maximum: 1000- Returns:
- numPartitions
-
setNumPartitions
-
transactionStateLogSegmentBytes
-
getTransactionStateLogSegmentBytes
The transaction topic segment bytes should be kept relatively small in order to facilitate faster log compaction and cache loads (defaults to 104857600 (100 mebibytes)). minimum: 1048576 maximum: 2147483647- Returns:
- transactionStateLogSegmentBytes
-
setTransactionStateLogSegmentBytes
-
replicaFetchResponseMaxBytes
-
getReplicaFetchResponseMaxBytes
Maximum bytes expected for the entire fetch response (defaults to 10485760). Records are fetched in batches, 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 progress can be made. As such, this is not an absolute maximum. minimum: 10485760 maximum: 1048576000- Returns:
- replicaFetchResponseMaxBytes
-
setReplicaFetchResponseMaxBytes
-
logMessageTimestampType
public JsonSchemaKafka logMessageTimestampType(JsonSchemaKafka.LogMessageTimestampTypeEnum logMessageTimestampType) -
getLogMessageTimestampType
Define whether the timestamp in the message is message create time or log append time.- Returns:
- logMessageTimestampType
-
setLogMessageTimestampType
public void setLogMessageTimestampType(JsonSchemaKafka.LogMessageTimestampTypeEnum logMessageTimestampType) -
connectionsMaxIdleMs
-
getConnectionsMaxIdleMs
Idle connections timeout: the server socket processor threads close the connections that idle for longer than this. minimum: 1000 maximum: 3600000- Returns:
- connectionsMaxIdleMs
-
setConnectionsMaxIdleMs
-
logFlushIntervalMs
-
getLogFlushIntervalMs
The maximum time in ms that a message in any topic is kept in memory before flushed to disk. If not set, the value in log.flush.scheduler.interval.ms is used minimum: 0 maximum: 9223372036854775807- Returns:
- logFlushIntervalMs
-
setLogFlushIntervalMs
-
groupConsumerSessionTimeoutMs
-
getGroupConsumerSessionTimeoutMs
The timeout used to detect consumer group member failures when using the consumer rebalance protocol. Must be between group.consumer.min.session.timeout.ms and group.consumer.max.session.timeout.ms. (Default: 45000 ms (45 seconds)) Requires Kafka 4.0 or later. minimum: 1000 maximum: 1800000- Returns:
- groupConsumerSessionTimeoutMs
-
setGroupConsumerSessionTimeoutMs
-
logPreallocate
-
getLogPreallocate
Should pre allocate file when create new segment?- Returns:
- logPreallocate
-
setLogPreallocate
-
logSegmentDeleteDelayMs
-
getLogSegmentDeleteDelayMs
The amount of time to wait before deleting a file from the filesystem minimum: 0 maximum: 3600000- Returns:
- logSegmentDeleteDelayMs
-
setLogSegmentDeleteDelayMs
-
messageMaxBytes
-
getMessageMaxBytes
The maximum size of message that the server can receive. minimum: 0 maximum: 100001200- Returns:
- messageMaxBytes
-
setMessageMaxBytes
-
groupInitialRebalanceDelayMs
-
getGroupInitialRebalanceDelayMs
The amount of time, in milliseconds, the group coordinator will wait for more consumers to join a new group before performing the first rebalance. A longer delay means potentially fewer rebalances, but increases the time until processing begins. The default value for this is 3 seconds. During development and testing it might be desirable to set this to 0 in order to not delay test execution time. minimum: 0 maximum: 300000- Returns:
- groupInitialRebalanceDelayMs
-
setGroupInitialRebalanceDelayMs
-
logLocalRetentionBytes
-
getLogLocalRetentionBytes
The maximum size of local log segments that can grow for a partition before it gets eligible for deletion. If set to -2, the value of log.retention.bytes is used. The effective value should always be less than or equal to log.retention.bytes value. minimum: -2 maximum: 9223372036854775807- Returns:
- logLocalRetentionBytes
-
setLogLocalRetentionBytes
-
logRollJitterMs
-
getLogRollJitterMs
The maximum jitter to subtract from logRollTimeMillis (in milliseconds). If not set, the value in log.roll.jitter.hours is used minimum: 0 maximum: 9223372036854775807- Returns:
- logRollJitterMs
-
setLogRollJitterMs
-
transactionRemoveExpiredTransactionCleanupIntervalMs
public JsonSchemaKafka transactionRemoveExpiredTransactionCleanupIntervalMs(Integer transactionRemoveExpiredTransactionCleanupIntervalMs) -
getTransactionRemoveExpiredTransactionCleanupIntervalMs
The interval at which to remove transactions that have expired due to transactional.id.expiration.ms passing (defaults to 3600000 (1 hour)). minimum: 600000 maximum: 3600000- Returns:
- transactionRemoveExpiredTransactionCleanupIntervalMs
-
setTransactionRemoveExpiredTransactionCleanupIntervalMs
public void setTransactionRemoveExpiredTransactionCleanupIntervalMs(Integer transactionRemoveExpiredTransactionCleanupIntervalMs) -
saslOauthbearerAllowUnverifiedIssuer
public JsonSchemaKafka saslOauthbearerAllowUnverifiedIssuer(Boolean saslOauthbearerAllowUnverifiedIssuer) -
getSaslOauthbearerAllowUnverifiedIssuer
Accept tokens whatever their issuer when sasl_oauthbearer_expected_issuer is not set. Either this or sasl_oauthbearer_expected_issuer is required when sasl_oauthbearer_jwks_endpoint_url is set. Apache Kafka only has this option from version 4.4: before that, the issuer is not verified unless sasl_oauthbearer_expected_issuer is set (Default: false).- Returns:
- saslOauthbearerAllowUnverifiedIssuer
-
setSaslOauthbearerAllowUnverifiedIssuer
-
transactionPartitionVerificationEnable
public JsonSchemaKafka transactionPartitionVerificationEnable(Boolean transactionPartitionVerificationEnable) -
getTransactionPartitionVerificationEnable
Enable verification that checks that the partition has been added to the transaction before writing transactional records to the partition- Returns:
- transactionPartitionVerificationEnable
-
setTransactionPartitionVerificationEnable
public void setTransactionPartitionVerificationEnable(Boolean transactionPartitionVerificationEnable) -
groupConsumerMaxSessionTimeoutMs
-
getGroupConsumerMaxSessionTimeoutMs
The maximum session timeout allowed for consumer group members using the consumer rebalance protocol. Must not be less than group.consumer.min.session.timeout.ms. (Default: 60000 ms (60 seconds)) Requires Kafka 4.0 or later. minimum: 1000 maximum: 1800000- Returns:
- groupConsumerMaxSessionTimeoutMs
-
setGroupConsumerMaxSessionTimeoutMs
-
defaultReplicationFactor
-
getDefaultReplicationFactor
Replication factor for autocreated topics minimum: 1 maximum: 10- Returns:
- defaultReplicationFactor
-
setDefaultReplicationFactor
-
logRollMs
-
getLogRollMs
The maximum time before a new log segment is rolled out (in milliseconds). minimum: 1 maximum: 9223372036854775807- Returns:
- logRollMs
-
setLogRollMs
-
producerPurgatoryPurgeIntervalRequests
public JsonSchemaKafka producerPurgatoryPurgeIntervalRequests(Integer producerPurgatoryPurgeIntervalRequests) -
getProducerPurgatoryPurgeIntervalRequests
The purge interval (in number of requests) of the producer request purgatory(defaults to 1000). minimum: 10 maximum: 10000- Returns:
- producerPurgatoryPurgeIntervalRequests
-
setProducerPurgatoryPurgeIntervalRequests
public void setProducerPurgatoryPurgeIntervalRequests(Integer producerPurgatoryPurgeIntervalRequests) -
logRetentionBytes
-
getLogRetentionBytes
The maximum size of the log before deleting messages minimum: -1 maximum: 9223372036854775807- Returns:
- logRetentionBytes
-
setLogRetentionBytes
-
minInsyncReplicas
-
getMinInsyncReplicas
When a producer sets acks to 'all' (or '-1'), min.insync.replicas specifies the minimum number of replicas that must acknowledge a write for the write to be considered successful. minimum: 1 maximum: 7- Returns:
- minInsyncReplicas
-
setMinInsyncReplicas
-
auditLog
-
getAuditLog
-
setAuditLog
-
compressionType
-
getCompressionType
Specify the final compression type for a given topic. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'uncompressed' which is equivalent to no compression; and 'producer' which means retain the original compression codec set by the producer.- Returns:
- compressionType
-
setCompressionType
-
groupConsumerMaxHeartbeatIntervalMs
public JsonSchemaKafka groupConsumerMaxHeartbeatIntervalMs(Integer groupConsumerMaxHeartbeatIntervalMs) -
getGroupConsumerMaxHeartbeatIntervalMs
The maximum heartbeat interval allowed for consumer group members using the consumer rebalance protocol. Must not be less than group.consumer.min.heartbeat.interval.ms. (Default: 15000 ms (15 seconds)) Requires Kafka 4.0 or later. minimum: 500 maximum: 1800000- Returns:
- groupConsumerMaxHeartbeatIntervalMs
-
setGroupConsumerMaxHeartbeatIntervalMs
-
logMessageTimestampDifferenceMaxMs
public JsonSchemaKafka logMessageTimestampDifferenceMaxMs(Integer logMessageTimestampDifferenceMaxMs) -
getLogMessageTimestampDifferenceMaxMs
The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message minimum: 0 maximum: 9223372036854775807- Returns:
- logMessageTimestampDifferenceMaxMs
-
setLogMessageTimestampDifferenceMaxMs
-
logLocalRetentionMs
-
getLogLocalRetentionMs
The number of milliseconds to keep the local log segments before it gets eligible for deletion. If set to -2, the value of log.retention.ms is used. The effective value should always be less than or equal to log.retention.ms value. minimum: -2 maximum: 9223372036854775807- Returns:
- logLocalRetentionMs
-
setLogLocalRetentionMs
-
logMessageDownconversionEnable
-
getLogMessageDownconversionEnable
This configuration controls whether down-conversion of message formats is enabled to satisfy consume requests.- Returns:
- logMessageDownconversionEnable
-
setLogMessageDownconversionEnable
-
saslOauthbearerSubClaimName
-
getSaslOauthbearerSubClaimName
Name of the scope from which to extract the subject claim from the JWT. Defaults to sub.- Returns:
- saslOauthbearerSubClaimName
-
setSaslOauthbearerSubClaimName
-
maxIncrementalFetchSessionCacheSlots
public JsonSchemaKafka maxIncrementalFetchSessionCacheSlots(Integer maxIncrementalFetchSessionCacheSlots) -
getMaxIncrementalFetchSessionCacheSlots
The maximum number of incremental fetch sessions that the broker will maintain. minimum: 1000 maximum: 10000- Returns:
- maxIncrementalFetchSessionCacheSlots
-
setMaxIncrementalFetchSessionCacheSlots
-
logRetentionHours
-
getLogRetentionHours
The number of hours to keep a log file before deleting it minimum: -1 maximum: 2147483647- Returns:
- logRetentionHours
-
setLogRetentionHours
-
saslOauthbearerAllowUnverifiedAudience
public JsonSchemaKafka saslOauthbearerAllowUnverifiedAudience(Boolean saslOauthbearerAllowUnverifiedAudience) -
getSaslOauthbearerAllowUnverifiedAudience
Accept tokens whatever their audience when sasl_oauthbearer_expected_audience is not set. Either this or sasl_oauthbearer_expected_audience is required when sasl_oauthbearer_jwks_endpoint_url is set. Apache Kafka only has this option from version 4.4: before that, the audience is not verified unless sasl_oauthbearer_expected_audience is set (Default: false).- Returns:
- saslOauthbearerAllowUnverifiedAudience
-
setSaslOauthbearerAllowUnverifiedAudience
public void setSaslOauthbearerAllowUnverifiedAudience(Boolean saslOauthbearerAllowUnverifiedAudience) -
groupCoordinatorRebalanceProtocols
public JsonSchemaKafka groupCoordinatorRebalanceProtocols(JsonSchemaKafka.GroupCoordinatorRebalanceProtocolsEnum groupCoordinatorRebalanceProtocols) -
getGroupCoordinatorRebalanceProtocols
@Nullable public JsonSchemaKafka.GroupCoordinatorRebalanceProtocolsEnum getGroupCoordinatorRebalanceProtocols()The enabled consumer group rebalance protocols. Use consumer, classic, share, streams to enable Kafka share groups.- Returns:
- groupCoordinatorRebalanceProtocols
-
setGroupCoordinatorRebalanceProtocols
public void setGroupCoordinatorRebalanceProtocols(JsonSchemaKafka.GroupCoordinatorRebalanceProtocolsEnum groupCoordinatorRebalanceProtocols) -
groupMinSessionTimeoutMs
-
getGroupMinSessionTimeoutMs
The minimum allowed session timeout for registered consumers. Longer timeouts give consumers more time to process messages in between heartbeats at the cost of a longer time to detect failures. minimum: 0 maximum: 60000- Returns:
- groupMinSessionTimeoutMs
-
setGroupMinSessionTimeoutMs
-
socketRequestMaxBytes
-
getSocketRequestMaxBytes
The maximum number of bytes in a socket request (defaults to 104857600). minimum: 10485760 maximum: 209715200- Returns:
- socketRequestMaxBytes
-
setSocketRequestMaxBytes
-
logSegmentBytes
-
getLogSegmentBytes
The maximum size of a single log file minimum: 10485760 maximum: 1073741824- Returns:
- logSegmentBytes
-
setLogSegmentBytes
-
logCleanupAndCompaction
public JsonSchemaKafka logCleanupAndCompaction(ConfigureLogCleanerForTopicCompaction logCleanupAndCompaction) -
getLogCleanupAndCompaction
Get logCleanupAndCompaction- Returns:
- logCleanupAndCompaction
-
setLogCleanupAndCompaction
public void setLogCleanupAndCompaction(ConfigureLogCleanerForTopicCompaction logCleanupAndCompaction) -
offsetsRetentionMinutes
-
getOffsetsRetentionMinutes
Log retention window in minutes for offsets topic minimum: 1 maximum: 2147483647- Returns:
- offsetsRetentionMinutes
-
setOffsetsRetentionMinutes
-
logRetentionMs
-
getLogRetentionMs
The number of milliseconds to keep a log file before deleting it (in milliseconds), If not set, the value in log.retention.minutes is used. If set to -1, no time limit is applied. minimum: -1 maximum: 9223372036854775807- Returns:
- logRetentionMs
-
setLogRetentionMs
-
groupConsumerMinHeartbeatIntervalMs
public JsonSchemaKafka groupConsumerMinHeartbeatIntervalMs(Integer groupConsumerMinHeartbeatIntervalMs) -
getGroupConsumerMinHeartbeatIntervalMs
The minimum heartbeat interval allowed for consumer group members using the consumer rebalance protocol. Must not be greater than group.consumer.max.heartbeat.interval.ms. (Default: 5000 ms (5 seconds)) Requires Kafka 4.0 or later. minimum: 500 maximum: 1800000- Returns:
- groupConsumerMinHeartbeatIntervalMs
-
setGroupConsumerMinHeartbeatIntervalMs
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString