bf2fc6cc711aee1a0c2a / kas-fleetshard

The kas-fleetshard-operator is responsible for provisioning and managing instances of kafka on a cluster. The kas-fleetshard-synchronizer synchronizes the state of a fleet shard with the kas-fleet-manager.
Apache License 2.0
7 stars 20 forks source link

Set transaction.id.expiration.ms to 1 day #796

Closed grdryn closed 2 years ago

grdryn commented 2 years ago

JIRA: https://issues.redhat.com/browse/MGDSTRM-9293

The default value for this is 7 days, but we want to reduce it to 1 day for the moment to reduce the chances that we'll hit an OOM as a result of too many idempotent producer IDs being stored for too long.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

MikeEdgar commented 2 years ago

I think this might be better placed in the Strimzi version ConfigMap as an override so that it is set during the cluster upgrade. For example:

  fleetshard_operands.yaml: |
    canary:
      init:
        image: null
      image: null
    admin-server:
      image: null
    kafka:
      brokerConfig:
        "transaction.id.expiration.ms": 86400000