Skip to content

Commit

Permalink
chore(deps): bump the main group across 1 directory with 4 updates (#899
Browse files Browse the repository at this point in the history
)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Mar 3, 2025
1 parent d33043d commit 63ff38a
Show file tree
Hide file tree
Showing 17 changed files with 110 additions and 19 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [MAJOR.MINOR.PATCH] - YYYY-MM-DD

- Add `Kafka` field `userConfig.kafka_rest_config.consumer_idle_disconnect_timeout`, type `integer`:
Specifies the maximum duration (in seconds) a client can remain idle before it is deleted
- Change `ServiceIntegration` field `clickhouseKafka.tables`: maxItems ~~`100`~~`400`
- Add `Valkey` field `userConfig.enable_ipv6`, type `boolean`: Register AAAA DNS records for the service,
and allow IPv6 packets to service ports
- Add `Valkey` field `userConfig.valkey_active_expire_effort`, type `integer`: Valkey reclaims expired
keys both when accessed and in the background

## v0.28.0 - 2025-02-17

- Add kind: `AlloyDBOmni`
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions api/v1alpha1/userconfig/service/kafka/kafka.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/v1alpha1/userconfig/service/valkey/valkey.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions api/v1alpha1/userconfig/service/valkey/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions charts/aiven-operator-crds/templates/aiven.io_kafkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,17 @@ spec:
If true the consumer's offset will be periodically
committed to Kafka in the background
type: boolean
consumer_idle_disconnect_timeout:
description:
Specifies the maximum duration (in seconds) a
client can remain idle before it is deleted. If a consumer
is inactive, it will exit the consumer group, and its state
will be discarded. A value of 0 (default) indicates that
the consumer will not be disconnected automatically due
to inactivity.
maximum: 2147483647
minimum: 0
type: integer
consumer_request_max_bytes:
description:
Maximum number of bytes in unencoded message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ spec:
- name
- topics
type: object
maxItems: 100
maxItems: 400
type: array
type: object
clickhousePostgresql:
Expand Down
15 changes: 15 additions & 0 deletions charts/aiven-operator-crds/templates/aiven.io_valkeys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ spec:
maximum: 59
minimum: 0
type: integer
enable_ipv6:
description:
Register AAAA DNS records for the service, and allow
IPv6 packets to service ports
type: boolean
frequent_snapshots:
description:
When enabled, Valkey will create frequent local RDB
Expand Down Expand Up @@ -429,6 +434,16 @@ spec:
- allchannels
- resetchannels
type: string
valkey_active_expire_effort:
description:
Valkey reclaims expired keys both when accessed and
in the background. The background process scans for expired
keys to free memory. Increasing the active-expire-effort setting
(default 1, max 10) uses more CPU to reclaim expired keys faster,
reducing memory usage but potentially increasing latency.
maximum: 10
minimum: 1
type: integer
valkey_io_threads:
description:
Set Valkey IO thread count. Changing this will cause
Expand Down
11 changes: 11 additions & 0 deletions config/crd/bases/aiven.io_kafkas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,17 @@ spec:
If true the consumer's offset will be periodically
committed to Kafka in the background
type: boolean
consumer_idle_disconnect_timeout:
description:
Specifies the maximum duration (in seconds) a
client can remain idle before it is deleted. If a consumer
is inactive, it will exit the consumer group, and its state
will be discarded. A value of 0 (default) indicates that
the consumer will not be disconnected automatically due
to inactivity.
maximum: 2147483647
minimum: 0
type: integer
consumer_request_max_bytes:
description:
Maximum number of bytes in unencoded message
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/aiven.io_serviceintegrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ spec:
- name
- topics
type: object
maxItems: 100
maxItems: 400
type: array
type: object
clickhousePostgresql:
Expand Down
15 changes: 15 additions & 0 deletions config/crd/bases/aiven.io_valkeys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ spec:
maximum: 59
minimum: 0
type: integer
enable_ipv6:
description:
Register AAAA DNS records for the service, and allow
IPv6 packets to service ports
type: boolean
frequent_snapshots:
description:
When enabled, Valkey will create frequent local RDB
Expand Down Expand Up @@ -429,6 +434,16 @@ spec:
- allchannels
- resetchannels
type: string
valkey_active_expire_effort:
description:
Valkey reclaims expired keys both when accessed and
in the background. The background process scans for expired
keys to free memory. Increasing the active-expire-effort setting
(default 1, max 10) uses more CPU to reclaim expired keys faster,
reducing memory usage but potentially increasing latency.
maximum: 10
minimum: 1
type: integer
valkey_io_threads:
description:
Set Valkey IO thread count. Changing this will cause
Expand Down
1 change: 1 addition & 0 deletions docs/docs/resources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ Kafka REST configuration.
**Optional**

- [`consumer_enable_auto_commit`](#spec.userConfig.kafka_rest_config.consumer_enable_auto_commit-property){: name='spec.userConfig.kafka_rest_config.consumer_enable_auto_commit-property'} (boolean). If true the consumer's offset will be periodically committed to Kafka in the background.
- [`consumer_idle_disconnect_timeout`](#spec.userConfig.kafka_rest_config.consumer_idle_disconnect_timeout-property){: name='spec.userConfig.kafka_rest_config.consumer_idle_disconnect_timeout-property'} (integer, Minimum: 0, Maximum: 2147483647). Specifies the maximum duration (in seconds) a client can remain idle before it is deleted. If a consumer is inactive, it will exit the consumer group, and its state will be discarded. A value of 0 (default) indicates that the consumer will not be disconnected automatically due to inactivity.
- [`consumer_request_max_bytes`](#spec.userConfig.kafka_rest_config.consumer_request_max_bytes-property){: name='spec.userConfig.kafka_rest_config.consumer_request_max_bytes-property'} (integer, Minimum: 0, Maximum: 671088640). Maximum number of bytes in unencoded message keys and values by a single request.
- [`consumer_request_timeout_ms`](#spec.userConfig.kafka_rest_config.consumer_request_timeout_ms-property){: name='spec.userConfig.kafka_rest_config.consumer_request_timeout_ms-property'} (integer, Enum: `1000`, `15000`, `30000`, Minimum: 1000, Maximum: 30000). The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reached.
- [`name_strategy`](#spec.userConfig.kafka_rest_config.name_strategy-property){: name='spec.userConfig.kafka_rest_config.name_strategy-property'} (string, Enum: `record_name`, `topic_name`, `topic_record_name`). Name strategy to use when selecting subject for storing schemas.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/resources/serviceintegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Clickhouse Kafka configuration values.

**Required**

- [`tables`](#spec.clickhouseKafka.tables-property){: name='spec.clickhouseKafka.tables-property'} (array of objects, MaxItems: 100). Tables to create. See below for [nested schema](#spec.clickhouseKafka.tables).
- [`tables`](#spec.clickhouseKafka.tables-property){: name='spec.clickhouseKafka.tables-property'} (array of objects, MaxItems: 400). Tables to create. See below for [nested schema](#spec.clickhouseKafka.tables).

### tables {: #spec.clickhouseKafka.tables }

Expand Down
2 changes: 2 additions & 0 deletions docs/docs/resources/valkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Valkey specific user configuration options.
- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Additional Cloud Regions for Backup Replication.
- [`backup_hour`](#spec.userConfig.backup_hour-property){: name='spec.userConfig.backup_hour-property'} (integer, Minimum: 0, Maximum: 23). The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- [`backup_minute`](#spec.userConfig.backup_minute-property){: name='spec.userConfig.backup_minute-property'} (integer, Minimum: 0, Maximum: 59). The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- [`enable_ipv6`](#spec.userConfig.enable_ipv6-property){: name='spec.userConfig.enable_ipv6-property'} (boolean). Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- [`frequent_snapshots`](#spec.userConfig.frequent_snapshots-property){: name='spec.userConfig.frequent_snapshots-property'} (boolean). When enabled, Valkey will create frequent local RDB snapshots. When disabled, Valkey will only take RDB snapshots when a backup is created, based on the backup schedule. This setting is ignored when `valkey_persistence` is set to `off`.
- [`ip_filter`](#spec.userConfig.ip_filter-property){: name='spec.userConfig.ip_filter-property'} (array of objects, MaxItems: 2048). Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`. See below for [nested schema](#spec.userConfig.ip_filter).
- [`migration`](#spec.userConfig.migration-property){: name='spec.userConfig.migration-property'} (object). Migrate data from existing server. See below for [nested schema](#spec.userConfig.migration).
Expand All @@ -218,6 +219,7 @@ Valkey specific user configuration options.
- [`service_to_fork_from`](#spec.userConfig.service_to_fork_from-property){: name='spec.userConfig.service_to_fork_from-property'} (string, Immutable, Pattern: `^[a-z][-a-z0-9]{0,63}$|^$`, MaxLength: 64). Name of another service to fork from. This has effect only when a new service is being created.
- [`static_ips`](#spec.userConfig.static_ips-property){: name='spec.userConfig.static_ips-property'} (boolean). Use static public IP addresses.
- [`valkey_acl_channels_default`](#spec.userConfig.valkey_acl_channels_default-property){: name='spec.userConfig.valkey_acl_channels_default-property'} (string, Enum: `allchannels`, `resetchannels`). Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Valkey configuration acl-pubsub-default.
- [`valkey_active_expire_effort`](#spec.userConfig.valkey_active_expire_effort-property){: name='spec.userConfig.valkey_active_expire_effort-property'} (integer, Minimum: 1, Maximum: 10). Valkey reclaims expired keys both when accessed and in the background. The background process scans for expired keys to free memory. Increasing the active-expire-effort setting (default 1, max 10) uses more CPU to reclaim expired keys faster, reducing memory usage but potentially increasing latency.
- [`valkey_io_threads`](#spec.userConfig.valkey_io_threads-property){: name='spec.userConfig.valkey_io_threads-property'} (integer, Minimum: 1, Maximum: 32). Set Valkey IO thread count. Changing this will cause a restart of the Valkey service.
- [`valkey_lfu_decay_time`](#spec.userConfig.valkey_lfu_decay_time-property){: name='spec.userConfig.valkey_lfu_decay_time-property'} (integer, Minimum: 1, Maximum: 120). LFU maxmemory-policy counter decay time in minutes.
- [`valkey_lfu_log_factor`](#spec.userConfig.valkey_lfu_log_factor-property){: name='spec.userConfig.valkey_lfu_log_factor-property'} (integer, Minimum: 0, Maximum: 100). Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies.
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ go 1.22.0
toolchain go1.23.0

require (
github.com/ClickHouse/clickhouse-go/v2 v2.32.0
github.com/ClickHouse/clickhouse-go/v2 v2.32.2
github.com/aiven/aiven-go-client/v2 v2.34.0
github.com/aiven/go-api-schemas v1.113.0
github.com/aiven/go-client-codegen v0.86.0
github.com/aiven/go-api-schemas v1.114.0
github.com/aiven/go-client-codegen v0.89.0
github.com/avast/retry-go v3.0.0+incompatible
github.com/dave/jennifer v1.7.1
github.com/docker/go-units v0.5.0
github.com/go-logr/logr v1.4.2
github.com/goccy/go-yaml v1.15.23
github.com/google/go-cmp v0.6.0
github.com/google/go-cmp v0.7.0
github.com/hashicorp/go-multierror v1.1.1
github.com/kelseyhightower/envconfig v1.4.0
github.com/liip/sheriff v0.12.0
Expand All @@ -34,7 +34,7 @@ require (
)

require (
github.com/ClickHouse/ch-go v0.65.0 // indirect
github.com/ClickHouse/ch-go v0.65.1 // indirect
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
Expand Down
Loading

0 comments on commit 63ff38a

Please sign in to comment.