Rate This Document
Findability
Accuracy
Completeness
Readability

Middleware Parameters

Kafka

  • Service parameters

    It is not recommended to set replication.factor to a high value when compression.type is gzip, because this may increase Kafka CPU and I/O overhead and degrade overall performance.

    Table 1 Kafka service parameters

    Recommended Parameter

    Tuning Analysis

    Parameter Name

    Parameter Description

    Value Range

    Importance Ratio (%)

    Optimal Value (vs. Baseline)

    Worst Value (vs. Baseline)

    compression.type

    Compression algorithm of message batches

    {uncompressed, zstd, lz4,snappy, gzip, producer}

    64.8%

    producer

    (+0.0%)

    gzip

    (-77.2%)

    replication.factor

    Number of copies of each partition stored in the cluster

    [1, 100]

    6.7%

    3

    60

  • System parameters
    Table 2 Kafka system parameters

    Recommended Parameter

    Tuning Analysis

      

    Parameter Name

    Value Range

    Importance Ratio (%)

    Default Value

    Optimal Value (vs. Baseline)

    Worst Value (vs. Baseline)

    transparent_hugepage_mode

    {madvise, never, always}

    42.2%

    never

    always (+2.4%)

    never