Documentation ¶
Index ¶
- type Aws
- type FollowerFetching
- type IpFilter
- type Kafka
- type KafkaAuthenticationMethods
- type KafkaConnectConfig
- type KafkaConnectSecretProviders
- type KafkaRestConfig
- type KafkaSaslMechanisms
- type KafkaUserConfig
- type LocalCache
- type PrivateAccess
- type PrivatelinkAccess
- type PublicAccess
- type SchemaRegistryConfig
- type SingleZone
- type TieredStorage
- type Vault
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aws ¶ added in v0.21.0
type Aws struct { // +kubebuilder:validation:MaxLength=128 // Access key used to authenticate with aws AccessKey *string `groups:"create,update" json:"access_key,omitempty"` // +kubebuilder:validation:Enum="credentials" // Auth method of the vault secret provider AuthMethod string `groups:"create,update" json:"auth_method"` // +kubebuilder:validation:MaxLength=64 // Region used to lookup secrets with AWS SecretManager Region string `groups:"create,update" json:"region"` // +kubebuilder:validation:MaxLength=128 // Secret key used to authenticate with aws SecretKey *string `groups:"create,update" json:"secret_key,omitempty"` }
AWS secret provider configuration
func (*Aws) DeepCopy ¶ added in v0.21.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Aws.
func (*Aws) DeepCopyInto ¶ added in v0.21.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FollowerFetching ¶ added in v0.25.0
type FollowerFetching struct { // Whether to enable the follower fetching functionality Enabled *bool `groups:"create,update" json:"enabled,omitempty"` }
Enable follower fetching
func (*FollowerFetching) DeepCopy ¶ added in v0.25.0
func (in *FollowerFetching) DeepCopy() *FollowerFetching
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FollowerFetching.
func (*FollowerFetching) DeepCopyInto ¶ added in v0.25.0
func (in *FollowerFetching) DeepCopyInto(out *FollowerFetching)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IpFilter ¶
type IpFilter struct { // +kubebuilder:validation:MaxLength=1024 // Description for IP filter list entry Description *string `groups:"create,update" json:"description,omitempty"` // +kubebuilder:validation:MaxLength=43 // CIDR address block Network string `groups:"create,update" json:"network"` }
CIDR address block, either as a string, or in a dict with an optional description field
func (*IpFilter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpFilter.
func (*IpFilter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kafka ¶
type Kafka struct { // Enable auto-creation of topics. (Default: true) AutoCreateTopicsEnable *bool `groups:"create,update" json:"auto_create_topics_enable,omitempty"` // +kubebuilder:validation:Enum="gzip";"lz4";"producer";"snappy";"uncompressed";"zstd" // 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.(Default: producer) CompressionType *string `groups:"create,update" json:"compression_type,omitempty"` // +kubebuilder:validation:Minimum=1000 // +kubebuilder:validation:Maximum=3600000 // Idle connections timeout: the server socket processor threads close the connections that idle for longer than this. (Default: 600000 ms (10 minutes)) ConnectionsMaxIdleMs *int `groups:"create,update" json:"connections_max_idle_ms,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=10 // Replication factor for auto-created topics (Default: 3) DefaultReplicationFactor *int `groups:"create,update" json:"default_replication_factor,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=300000 // 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. (Default: 3000 ms (3 seconds)) GroupInitialRebalanceDelayMs *int `groups:"create,update" json:"group_initial_rebalance_delay_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=1800000 // 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. Default: 1800000 ms (30 minutes) GroupMaxSessionTimeoutMs *int `groups:"create,update" json:"group_max_session_timeout_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=60000 // 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. (Default: 6000 ms (6 seconds)) GroupMinSessionTimeoutMs *int `groups:"create,update" json:"group_min_session_timeout_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=315569260000 // How long are delete records retained? (Default: 86400000 (1 day)) LogCleanerDeleteRetentionMs *int `groups:"create,update" json:"log_cleaner_delete_retention_ms,omitempty"` // +kubebuilder:validation:Minimum=30000 // The maximum amount of time message will remain uncompacted. Only applicable for logs that are being compacted. (Default: 9223372036854775807 ms (Long.MAX_VALUE)) LogCleanerMaxCompactionLagMs *int `groups:"create,update" json:"log_cleaner_max_compaction_lag_ms,omitempty"` // +kubebuilder:validation:Minimum=0.2 // +kubebuilder:validation:Maximum=0.9 // Controls log compactor frequency. Larger value means more frequent compactions but also more space wasted for logs. Consider setting log.cleaner.max.compaction.lag.ms to enforce compactions sooner, instead of setting a very high value for this option. (Default: 0.5) LogCleanerMinCleanableRatio *float64 `groups:"create,update" json:"log_cleaner_min_cleanable_ratio,omitempty"` // +kubebuilder:validation:Minimum=0 // The minimum time a message will remain uncompacted in the log. Only applicable for logs that are being compacted. (Default: 0 ms) LogCleanerMinCompactionLagMs *int `groups:"create,update" json:"log_cleaner_min_compaction_lag_ms,omitempty"` // +kubebuilder:validation:Enum="compact";"compact,delete";"delete" // The default cleanup policy for segments beyond the retention window (Default: delete) LogCleanupPolicy *string `groups:"create,update" json:"log_cleanup_policy,omitempty"` // +kubebuilder:validation:Minimum=1 // The number of messages accumulated on a log partition before messages are flushed to disk (Default: 9223372036854775807 (Long.MAX_VALUE)) LogFlushIntervalMessages *int `groups:"create,update" json:"log_flush_interval_messages,omitempty"` // +kubebuilder:validation:Minimum=0 // The maximum time in ms that a message in any topic is kept in memory (page-cache) before flushed to disk. If not set, the value in log.flush.scheduler.interval.ms is used (Default: null) LogFlushIntervalMs *int `groups:"create,update" json:"log_flush_interval_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=104857600 // The interval with which Kafka adds an entry to the offset index (Default: 4096 bytes (4 kibibytes)) LogIndexIntervalBytes *int `groups:"create,update" json:"log_index_interval_bytes,omitempty"` // +kubebuilder:validation:Minimum=1048576 // +kubebuilder:validation:Maximum=104857600 // The maximum size in bytes of the offset index (Default: 10485760 (10 mebibytes)) LogIndexSizeMaxBytes *int `groups:"create,update" json:"log_index_size_max_bytes,omitempty"` // +kubebuilder:validation:Minimum=-2 // 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. (Default: -2) LogLocalRetentionBytes *int `groups:"create,update" json:"log_local_retention_bytes,omitempty"` // +kubebuilder:validation:Minimum=-2 // 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. (Default: -2) LogLocalRetentionMs *int `groups:"create,update" json:"log_local_retention_ms,omitempty"` // This configuration controls whether down-conversion of message formats is enabled to satisfy consume requests. (Default: true) LogMessageDownconversionEnable *bool `groups:"create,update" json:"log_message_downconversion_enable,omitempty"` // +kubebuilder:validation:Minimum=0 // The maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message (Default: 9223372036854775807 (Long.MAX_VALUE)) LogMessageTimestampDifferenceMaxMs *int `groups:"create,update" json:"log_message_timestamp_difference_max_ms,omitempty"` // +kubebuilder:validation:Enum="CreateTime";"LogAppendTime" // Define whether the timestamp in the message is message create time or log append time. (Default: CreateTime) LogMessageTimestampType *string `groups:"create,update" json:"log_message_timestamp_type,omitempty"` // Should pre allocate file when create new segment? (Default: false) LogPreallocate *bool `groups:"create,update" json:"log_preallocate,omitempty"` // +kubebuilder:validation:Minimum=-1 // The maximum size of the log before deleting messages (Default: -1) LogRetentionBytes *int `groups:"create,update" json:"log_retention_bytes,omitempty"` // +kubebuilder:validation:Minimum=-1 // +kubebuilder:validation:Maximum=2147483647 // The number of hours to keep a log file before deleting it (Default: 168 hours (1 week)) LogRetentionHours *int `groups:"create,update" json:"log_retention_hours,omitempty"` // +kubebuilder:validation:Minimum=-1 // 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. (Default: null, log.retention.hours applies) LogRetentionMs *int `groups:"create,update" json:"log_retention_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // The maximum jitter to subtract from logRollTimeMillis (in milliseconds). If not set, the value in log.roll.jitter.hours is used (Default: null) LogRollJitterMs *int `groups:"create,update" json:"log_roll_jitter_ms,omitempty"` // +kubebuilder:validation:Minimum=1 // The maximum time before a new log segment is rolled out (in milliseconds). (Default: null, log.roll.hours applies (Default: 168, 7 days)) LogRollMs *int `groups:"create,update" json:"log_roll_ms,omitempty"` // +kubebuilder:validation:Minimum=10485760 // +kubebuilder:validation:Maximum=1073741824 // The maximum size of a single log file (Default: 1073741824 bytes (1 gibibyte)) LogSegmentBytes *int `groups:"create,update" json:"log_segment_bytes,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=3600000 // The amount of time to wait before deleting a file from the filesystem (Default: 60000 ms (1 minute)) LogSegmentDeleteDelayMs *int `groups:"create,update" json:"log_segment_delete_delay_ms,omitempty"` // +kubebuilder:validation:Minimum=256 // +kubebuilder:validation:Maximum=2147483647 // The maximum number of connections allowed from each ip address (Default: 2147483647). MaxConnectionsPerIp *int `groups:"create,update" json:"max_connections_per_ip,omitempty"` // +kubebuilder:validation:Minimum=1000 // +kubebuilder:validation:Maximum=10000 // The maximum number of incremental fetch sessions that the broker will maintain. (Default: 1000) MaxIncrementalFetchSessionCacheSlots *int `groups:"create,update" json:"max_incremental_fetch_session_cache_slots,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=100001200 // The maximum size of message that the server can receive. (Default: 1048588 bytes (1 mebibyte + 12 bytes)) MessageMaxBytes *int `groups:"create,update" json:"message_max_bytes,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=7 // 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. (Default: 1) MinInsyncReplicas *int `groups:"create,update" json:"min_insync_replicas,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=1000 // Number of partitions for auto-created topics (Default: 1) NumPartitions *int `groups:"create,update" json:"num_partitions,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=2147483647 // Log retention window in minutes for offsets topic (Default: 10080 minutes (7 days)) OffsetsRetentionMinutes *int `groups:"create,update" json:"offsets_retention_minutes,omitempty"` // +kubebuilder:validation:Minimum=10 // +kubebuilder:validation:Maximum=10000 // The purge interval (in number of requests) of the producer request purgatory (Default: 1000). ProducerPurgatoryPurgeIntervalRequests *int `groups:"create,update" json:"producer_purgatory_purge_interval_requests,omitempty"` // +kubebuilder:validation:Minimum=1048576 // +kubebuilder:validation:Maximum=104857600 // The number of bytes of messages to attempt to fetch for each partition . 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. (Default: 1048576 bytes (1 mebibytes)) ReplicaFetchMaxBytes *int `groups:"create,update" json:"replica_fetch_max_bytes,omitempty"` // +kubebuilder:validation:Minimum=10485760 // +kubebuilder:validation:Maximum=1048576000 // Maximum bytes expected for the entire fetch response. 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. (Default: 10485760 bytes (10 mebibytes)) ReplicaFetchResponseMaxBytes *int `groups:"create,update" json:"replica_fetch_response_max_bytes,omitempty"` // +kubebuilder:validation:MaxLength=128 // +kubebuilder:validation:Pattern=`^[^\r\n]*$` // The (optional) comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences. (Default: null) SaslOauthbearerExpectedAudience *string `groups:"create,update" json:"sasl_oauthbearer_expected_audience,omitempty"` // +kubebuilder:validation:MaxLength=128 // +kubebuilder:validation:Pattern=`^[^\r\n]*$` // Optional setting for the broker to use to verify that the JWT was created by the expected issuer.(Default: null) SaslOauthbearerExpectedIssuer *string `groups:"create,update" json:"sasl_oauthbearer_expected_issuer,omitempty"` // +kubebuilder:validation:MaxLength=2048 // OIDC JWKS endpoint URL. By setting this the SASL SSL OAuth2/OIDC authentication is enabled. See also other options for SASL OAuth2/OIDC. (Default: null) SaslOauthbearerJwksEndpointUrl *string `groups:"create,update" json:"sasl_oauthbearer_jwks_endpoint_url,omitempty"` // +kubebuilder:validation:MaxLength=128 // +kubebuilder:validation:Pattern=`^[^\r\n]*\S[^\r\n]*$` // Name of the scope from which to extract the subject claim from the JWT.(Default: sub) SaslOauthbearerSubClaimName *string `groups:"create,update" json:"sasl_oauthbearer_sub_claim_name,omitempty"` // +kubebuilder:validation:Minimum=10485760 // +kubebuilder:validation:Maximum=209715200 // The maximum number of bytes in a socket request (Default: 104857600 bytes). SocketRequestMaxBytes *int `groups:"create,update" json:"socket_request_max_bytes,omitempty"` // Enable verification that checks that the partition has been added to the transaction before writing transactional records to the partition. (Default: true) TransactionPartitionVerificationEnable *bool `groups:"create,update" json:"transaction_partition_verification_enable,omitempty"` // +kubebuilder:validation:Minimum=600000 // +kubebuilder:validation:Maximum=3600000 // The interval at which to remove transactions that have expired due to transactional.id.expiration.ms passing (Default: 3600000 ms (1 hour)). TransactionRemoveExpiredTransactionCleanupIntervalMs *int `groups:"create,update" json:"transaction_remove_expired_transaction_cleanup_interval_ms,omitempty"` // +kubebuilder:validation:Minimum=1048576 // +kubebuilder:validation:Maximum=2147483647 // The transaction topic segment bytes should be kept relatively small in order to facilitate faster log compaction and cache loads (Default: 104857600 bytes (100 mebibytes)). TransactionStateLogSegmentBytes *int `groups:"create,update" json:"transaction_state_log_segment_bytes,omitempty"` }
Kafka broker configuration values
func (*Kafka) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kafka.
func (*Kafka) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaAuthenticationMethods ¶
type KafkaAuthenticationMethods struct { // Enable certificate/SSL authentication Certificate *bool `groups:"create,update" json:"certificate,omitempty"` // Enable SASL authentication Sasl *bool `groups:"create,update" json:"sasl,omitempty"` }
Kafka authentication methods
func (*KafkaAuthenticationMethods) DeepCopy ¶
func (in *KafkaAuthenticationMethods) DeepCopy() *KafkaAuthenticationMethods
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAuthenticationMethods.
func (*KafkaAuthenticationMethods) DeepCopyInto ¶
func (in *KafkaAuthenticationMethods) DeepCopyInto(out *KafkaAuthenticationMethods)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaConnectConfig ¶
type KafkaConnectConfig struct { // +kubebuilder:validation:Enum="All";"None" // Defines what client configurations can be overridden by the connector. Default is None ConnectorClientConfigOverridePolicy *string `groups:"create,update" json:"connector_client_config_override_policy,omitempty"` // +kubebuilder:validation:Enum="earliest";"latest" // 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 ConsumerAutoOffsetReset *string `groups:"create,update" json:"consumer_auto_offset_reset,omitempty"` // +kubebuilder:validation:Minimum=1048576 // +kubebuilder:validation:Maximum=104857600 // 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. ConsumerFetchMaxBytes *int `groups:"create,update" json:"consumer_fetch_max_bytes,omitempty"` // +kubebuilder:validation:Enum="read_committed";"read_uncommitted" // Transaction read isolation level. read_uncommitted is the default, but read_committed can be used if consume-exactly-once behavior is desired. ConsumerIsolationLevel *string `groups:"create,update" json:"consumer_isolation_level,omitempty"` // +kubebuilder:validation:Minimum=1048576 // +kubebuilder:validation:Maximum=104857600 // 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. ConsumerMaxPartitionFetchBytes *int `groups:"create,update" json:"consumer_max_partition_fetch_bytes,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=2147483647 // The maximum delay in milliseconds between invocations of poll() when using consumer group management (defaults to 300000). ConsumerMaxPollIntervalMs *int `groups:"create,update" json:"consumer_max_poll_interval_ms,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=10000 // The maximum number of records returned in a single call to poll() (defaults to 500). ConsumerMaxPollRecords *int `groups:"create,update" json:"consumer_max_poll_records,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=100000000 // The interval at which to try committing offsets for tasks (defaults to 60000). OffsetFlushIntervalMs *int `groups:"create,update" json:"offset_flush_interval_ms,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=2147483647 // 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). OffsetFlushTimeoutMs *int `groups:"create,update" json:"offset_flush_timeout_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=5242880 // 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). ProducerBatchSize *int `groups:"create,update" json:"producer_batch_size,omitempty"` // +kubebuilder:validation:Minimum=5242880 // +kubebuilder:validation:Maximum=134217728 // The total bytes of memory the producer can use to buffer records waiting to be sent to the broker (defaults to 33554432). ProducerBufferMemory *int `groups:"create,update" json:"producer_buffer_memory,omitempty"` // +kubebuilder:validation:Enum="gzip";"lz4";"none";"snappy";"zstd" // 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. ProducerCompressionType *string `groups:"create,update" json:"producer_compression_type,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=5000 // 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. ProducerLingerMs *int `groups:"create,update" json:"producer_linger_ms,omitempty"` // +kubebuilder:validation:Minimum=131072 // +kubebuilder:validation:Maximum=67108864 // This setting will limit the number of record batches the producer will send in a single request to avoid sending huge requests. ProducerMaxRequestSize *int `groups:"create,update" json:"producer_max_request_size,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=600000 // 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. ScheduledRebalanceMaxDelayMs *int `groups:"create,update" json:"scheduled_rebalance_max_delay_ms,omitempty"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=2147483647 // The timeout in milliseconds used to detect failures when using Kafka’s group management facilities (defaults to 10000). SessionTimeoutMs *int `groups:"create,update" json:"session_timeout_ms,omitempty"` }
Kafka Connect configuration values
func (*KafkaConnectConfig) DeepCopy ¶
func (in *KafkaConnectConfig) DeepCopy() *KafkaConnectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConnectConfig.
func (*KafkaConnectConfig) DeepCopyInto ¶
func (in *KafkaConnectConfig) DeepCopyInto(out *KafkaConnectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaConnectSecretProviders ¶ added in v0.21.0
type KafkaConnectSecretProviders struct { // AWS secret provider configuration Aws *Aws `groups:"create,update" json:"aws,omitempty"` // Name of the secret provider. Used to reference secrets in connector config. Name string `groups:"create,update" json:"name"` // Vault secret provider configuration Vault *Vault `groups:"create,update" json:"vault,omitempty"` }
Configure external secret providers in order to reference external secrets in connector configuration. Currently Hashicorp Vault and AWS Secrets Manager are supported.
func (*KafkaConnectSecretProviders) DeepCopy ¶ added in v0.21.0
func (in *KafkaConnectSecretProviders) DeepCopy() *KafkaConnectSecretProviders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConnectSecretProviders.
func (*KafkaConnectSecretProviders) DeepCopyInto ¶ added in v0.21.0
func (in *KafkaConnectSecretProviders) DeepCopyInto(out *KafkaConnectSecretProviders)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaRestConfig ¶
type KafkaRestConfig struct { // If true the consumer's offset will be periodically committed to Kafka in the background ConsumerEnableAutoCommit *bool `groups:"create,update" json:"consumer_enable_auto_commit,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=671088640 // Maximum number of bytes in unencoded message keys and values by a single request ConsumerRequestMaxBytes *int `groups:"create,update" json:"consumer_request_max_bytes,omitempty"` // +kubebuilder:validation:Minimum=1000 // +kubebuilder:validation:Maximum=30000 // +kubebuilder:validation:Enum=1000;15000;30000 // The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reached ConsumerRequestTimeoutMs *int `groups:"create,update" json:"consumer_request_timeout_ms,omitempty"` // +kubebuilder:validation:Enum="record_name";"topic_name";"topic_record_name" // Name strategy to use when selecting subject for storing schemas NameStrategy *string `groups:"create,update" json:"name_strategy,omitempty"` // If true, validate that given schema is registered under expected subject name by the used name strategy when producing messages. NameStrategyValidation *bool `groups:"create,update" json:"name_strategy_validation,omitempty"` // +kubebuilder:validation:Enum="-1";"0";"1";"all" // The number of acknowledgments the producer requires the leader to have received before considering a request complete. If set to 'all' or '-1', the leader will wait for the full set of in-sync replicas to acknowledge the record. ProducerAcks *string `groups:"create,update" json:"producer_acks,omitempty"` // +kubebuilder:validation:Enum="gzip";"lz4";"none";"snappy";"zstd" // 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. ProducerCompressionType *string `groups:"create,update" json:"producer_compression_type,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=5000 // Wait for up to the given delay to allow batching records together ProducerLingerMs *int `groups:"create,update" json:"producer_linger_ms,omitempty"` // +kubebuilder:validation:Minimum=0 // +kubebuilder:validation:Maximum=2147483647 // The maximum size of a request in bytes. Note that Kafka broker can also cap the record batch size. ProducerMaxRequestSize *int `groups:"create,update" json:"producer_max_request_size,omitempty"` // +kubebuilder:validation:Minimum=10 // +kubebuilder:validation:Maximum=250 // Maximum number of SimpleConsumers that can be instantiated per broker SimpleconsumerPoolSizeMax *int `groups:"create,update" json:"simpleconsumer_pool_size_max,omitempty"` }
Kafka REST configuration
func (*KafkaRestConfig) DeepCopy ¶
func (in *KafkaRestConfig) DeepCopy() *KafkaRestConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaRestConfig.
func (*KafkaRestConfig) DeepCopyInto ¶
func (in *KafkaRestConfig) DeepCopyInto(out *KafkaRestConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaSaslMechanisms ¶ added in v0.25.0
type KafkaSaslMechanisms struct { // Enable PLAIN mechanism Plain *bool `groups:"create,update" json:"plain,omitempty"` // Enable SCRAM-SHA-256 mechanism ScramSha256 *bool `groups:"create,update" json:"scram_sha_256,omitempty"` // Enable SCRAM-SHA-512 mechanism ScramSha512 *bool `groups:"create,update" json:"scram_sha_512,omitempty"` }
Kafka SASL mechanisms
func (*KafkaSaslMechanisms) DeepCopy ¶ added in v0.25.0
func (in *KafkaSaslMechanisms) DeepCopy() *KafkaSaslMechanisms
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaSaslMechanisms.
func (*KafkaSaslMechanisms) DeepCopyInto ¶ added in v0.25.0
func (in *KafkaSaslMechanisms) DeepCopyInto(out *KafkaSaslMechanisms)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KafkaUserConfig ¶
type KafkaUserConfig struct { // +kubebuilder:validation:MaxItems=1 // +kubebuilder:deprecatedversion:warning="additional_backup_regions is deprecated" // Deprecated. Additional Cloud Regions for Backup Replication AdditionalBackupRegions []string `groups:"create,update" json:"additional_backup_regions,omitempty"` // Allow access to read Kafka topic messages in the Aiven Console and REST API. AivenKafkaTopicMessages *bool `groups:"create,update" json:"aiven_kafka_topic_messages,omitempty"` // +kubebuilder:validation:MaxLength=255 // Serve the web frontend using a custom CNAME pointing to the Aiven DNS name CustomDomain *string `groups:"create,update" json:"custom_domain,omitempty"` // Enable follower fetching FollowerFetching *FollowerFetching `groups:"create,update" json:"follower_fetching,omitempty"` // +kubebuilder:validation:MaxItems=1024 // Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16' IpFilter []*IpFilter `groups:"create,update" json:"ip_filter,omitempty"` // Kafka broker configuration values Kafka *Kafka `groups:"create,update" json:"kafka,omitempty"` // Kafka authentication methods KafkaAuthenticationMethods *KafkaAuthenticationMethods `groups:"create,update" json:"kafka_authentication_methods,omitempty"` // Enable Kafka Connect service KafkaConnect *bool `groups:"create,update" json:"kafka_connect,omitempty"` // Kafka Connect configuration values KafkaConnectConfig *KafkaConnectConfig `groups:"create,update" json:"kafka_connect_config,omitempty"` // Configure external secret providers in order to reference external secrets in connector configuration. Currently Hashicorp Vault (provider: vault, auth_method: token) and AWS Secrets Manager (provider: aws, auth_method: credentials) are supported. Secrets can be referenced in connector config with ${<provider_name>:<secret_path>:<key_name>} KafkaConnectSecretProviders []*KafkaConnectSecretProviders `groups:"create,update" json:"kafka_connect_secret_providers,omitempty"` // Enable Kafka-REST service KafkaRest *bool `groups:"create,update" json:"kafka_rest,omitempty"` // Enable authorization in Kafka-REST service KafkaRestAuthorization *bool `groups:"create,update" json:"kafka_rest_authorization,omitempty"` // Kafka REST configuration KafkaRestConfig *KafkaRestConfig `groups:"create,update" json:"kafka_rest_config,omitempty"` // Kafka SASL mechanisms KafkaSaslMechanisms *KafkaSaslMechanisms `groups:"create,update" json:"kafka_sasl_mechanisms,omitempty"` // +kubebuilder:validation:Enum="3.7";"3.8" // Kafka major version KafkaVersion *string `groups:"create,update" json:"kafka_version,omitempty"` // Use Letsencrypt CA for Kafka SASL via Privatelink LetsencryptSaslPrivatelink *bool `groups:"create,update" json:"letsencrypt_sasl_privatelink,omitempty"` // Allow access to selected service ports from private networks PrivateAccess *PrivateAccess `groups:"create,update" json:"private_access,omitempty"` // Allow access to selected service components through Privatelink PrivatelinkAccess *PrivatelinkAccess `groups:"create,update" json:"privatelink_access,omitempty"` // Allow access to selected service ports from the public Internet PublicAccess *PublicAccess `groups:"create,update" json:"public_access,omitempty"` // Enable Schema-Registry service SchemaRegistry *bool `groups:"create,update" json:"schema_registry,omitempty"` // Schema Registry configuration SchemaRegistryConfig *SchemaRegistryConfig `groups:"create,update" json:"schema_registry_config,omitempty"` // Store logs for the service so that they are available in the HTTP API and console. ServiceLog *bool `groups:"create,update" json:"service_log,omitempty"` // Single-zone configuration SingleZone *SingleZone `groups:"create,update" json:"single_zone,omitempty"` // Use static public IP addresses StaticIps *bool `groups:"create,update" json:"static_ips,omitempty"` // Tiered storage configuration TieredStorage *TieredStorage `groups:"create,update" json:"tiered_storage,omitempty"` }
func (*KafkaUserConfig) DeepCopy ¶
func (in *KafkaUserConfig) DeepCopy() *KafkaUserConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaUserConfig.
func (*KafkaUserConfig) DeepCopyInto ¶
func (in *KafkaUserConfig) DeepCopyInto(out *KafkaUserConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalCache ¶ added in v0.13.0
type LocalCache struct { // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=107374182400 // +kubebuilder:deprecatedversion:warning="size is deprecated" // Deprecated. Local cache size in bytes Size *int `groups:"create,update" json:"size,omitempty"` }
Deprecated. Local cache configuration
func (*LocalCache) DeepCopy ¶ added in v0.13.0
func (in *LocalCache) DeepCopy() *LocalCache
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalCache.
func (*LocalCache) DeepCopyInto ¶ added in v0.13.0
func (in *LocalCache) DeepCopyInto(out *LocalCache)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateAccess ¶
type PrivateAccess struct { // Allow clients to connect to kafka with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations Kafka *bool `groups:"create,update" json:"kafka,omitempty"` // Allow clients to connect to kafka_connect with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations KafkaConnect *bool `groups:"create,update" json:"kafka_connect,omitempty"` // Allow clients to connect to kafka_rest with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations KafkaRest *bool `groups:"create,update" json:"kafka_rest,omitempty"` // Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations Prometheus *bool `groups:"create,update" json:"prometheus,omitempty"` // Allow clients to connect to schema_registry with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations SchemaRegistry *bool `groups:"create,update" json:"schema_registry,omitempty"` }
Allow access to selected service ports from private networks
func (*PrivateAccess) DeepCopy ¶
func (in *PrivateAccess) DeepCopy() *PrivateAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateAccess.
func (*PrivateAccess) DeepCopyInto ¶
func (in *PrivateAccess) DeepCopyInto(out *PrivateAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivatelinkAccess ¶
type PrivatelinkAccess struct { // Enable jolokia Jolokia *bool `groups:"create,update" json:"jolokia,omitempty"` // Enable kafka Kafka *bool `groups:"create,update" json:"kafka,omitempty"` // Enable kafka_connect KafkaConnect *bool `groups:"create,update" json:"kafka_connect,omitempty"` // Enable kafka_rest KafkaRest *bool `groups:"create,update" json:"kafka_rest,omitempty"` // Enable prometheus Prometheus *bool `groups:"create,update" json:"prometheus,omitempty"` // Enable schema_registry SchemaRegistry *bool `groups:"create,update" json:"schema_registry,omitempty"` }
Allow access to selected service components through Privatelink
func (*PrivatelinkAccess) DeepCopy ¶
func (in *PrivatelinkAccess) DeepCopy() *PrivatelinkAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivatelinkAccess.
func (*PrivatelinkAccess) DeepCopyInto ¶
func (in *PrivatelinkAccess) DeepCopyInto(out *PrivatelinkAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicAccess ¶
type PublicAccess struct { // Allow clients to connect to kafka from the public internet for service nodes that are in a project VPC or another type of private network Kafka *bool `groups:"create,update" json:"kafka,omitempty"` // Allow clients to connect to kafka_connect from the public internet for service nodes that are in a project VPC or another type of private network KafkaConnect *bool `groups:"create,update" json:"kafka_connect,omitempty"` // Allow clients to connect to kafka_rest from the public internet for service nodes that are in a project VPC or another type of private network KafkaRest *bool `groups:"create,update" json:"kafka_rest,omitempty"` // Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network Prometheus *bool `groups:"create,update" json:"prometheus,omitempty"` // Allow clients to connect to schema_registry from the public internet for service nodes that are in a project VPC or another type of private network SchemaRegistry *bool `groups:"create,update" json:"schema_registry,omitempty"` }
Allow access to selected service ports from the public Internet
func (*PublicAccess) DeepCopy ¶
func (in *PublicAccess) DeepCopy() *PublicAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicAccess.
func (*PublicAccess) DeepCopyInto ¶
func (in *PublicAccess) DeepCopyInto(out *PublicAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchemaRegistryConfig ¶
type SchemaRegistryConfig struct { // If true, Karapace / Schema Registry on the service nodes can participate in leader election. It might be needed to disable this when the schemas topic is replicated to a secondary cluster and Karapace / Schema Registry there must not participate in leader election. Defaults to `true`. LeaderEligibility *bool `groups:"create,update" json:"leader_eligibility,omitempty"` // If enabled, kafka errors which can be retried or custom errors specified for the service will not be raised, instead, a warning log is emitted. This will denoise issue tracking systems, i.e. sentry. Defaults to `true`. RetriableErrorsSilenced *bool `groups:"create,update" json:"retriable_errors_silenced,omitempty"` // If enabled, causes the Karapace schema-registry service to shutdown when there are invalid schema records in the `_schemas` topic. Defaults to `false`. SchemaReaderStrictMode *bool `groups:"create,update" json:"schema_reader_strict_mode,omitempty"` // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=249 // The durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It's only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to `_schemas`. TopicName *string `groups:"create,update" json:"topic_name,omitempty"` }
Schema Registry configuration
func (*SchemaRegistryConfig) DeepCopy ¶
func (in *SchemaRegistryConfig) DeepCopy() *SchemaRegistryConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaRegistryConfig.
func (*SchemaRegistryConfig) DeepCopyInto ¶
func (in *SchemaRegistryConfig) DeepCopyInto(out *SchemaRegistryConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SingleZone ¶ added in v0.26.0
type SingleZone struct { // Whether to allocate nodes on the same Availability Zone or spread across zones available. By default service nodes are spread across different AZs. The single AZ support is best-effort and may temporarily allocate nodes in different AZs e.g. in case of capacity limitations in one AZ. Enabled *bool `groups:"create,update" json:"enabled,omitempty"` }
Single-zone configuration
func (*SingleZone) DeepCopy ¶ added in v0.26.0
func (in *SingleZone) DeepCopy() *SingleZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleZone.
func (*SingleZone) DeepCopyInto ¶ added in v0.26.0
func (in *SingleZone) DeepCopyInto(out *SingleZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TieredStorage ¶ added in v0.13.0
type TieredStorage struct { // Whether to enable the tiered storage functionality Enabled *bool `groups:"create,update" json:"enabled,omitempty"` // +kubebuilder:deprecatedversion:warning="local_cache is deprecated" // Deprecated. Local cache configuration LocalCache *LocalCache `groups:"create,update" json:"local_cache,omitempty"` }
Tiered storage configuration
func (*TieredStorage) DeepCopy ¶ added in v0.13.0
func (in *TieredStorage) DeepCopy() *TieredStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TieredStorage.
func (*TieredStorage) DeepCopyInto ¶ added in v0.13.0
func (in *TieredStorage) DeepCopyInto(out *TieredStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vault ¶ added in v0.21.0
type Vault struct { // +kubebuilder:validation:MinLength=1 // +kubebuilder:validation:MaxLength=65536 // Address of the Vault server Address string `groups:"create,update" json:"address"` // +kubebuilder:validation:Enum="token" // Auth method of the vault secret provider AuthMethod string `groups:"create,update" json:"auth_method"` // +kubebuilder:validation:Enum=1;2 // KV Secrets Engine version of the Vault server instance EngineVersion *int `groups:"create,update" json:"engine_version,omitempty"` // Prefix path depth of the secrets Engine. Default is 1. If the secrets engine path has more than one segment it has to be increased to the number of segments. PrefixPathDepth *int `groups:"create,update" json:"prefix_path_depth,omitempty"` // +kubebuilder:validation:MaxLength=256 // Token used to authenticate with vault and auth method `token`. Token *string `groups:"create,update" json:"token,omitempty"` }
Vault secret provider configuration
func (*Vault) DeepCopy ¶ added in v0.21.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vault.
func (*Vault) DeepCopyInto ¶ added in v0.21.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.