milvus-logo
LFAI
Home
  • Administration Guide

rocksmq-related Configurations

If you want to enable kafka, needs to comment the pulsar configs

kafka:

brokerList:

saslUsername:

saslPassword:

saslMechanisms:

securityProtocol:

ssl:

enabled: false # whether to enable ssl mode

tlsCert:  # path to client's public key (PEM) used for authentication

tlsKey:  # path to client's private key (PEM) used for authentication

tlsCaCert:  # file or directory path to CA certificate(s) for verifying the broker's key

tlsKeyPassword:  # private key passphrase for use with ssl.key.location and set_ssl_cert(), if any

readTimeout: 10

rocksmq.path

Description Default Value
  • Prefix of the key to where Milvus stores data in RocksMQ.
  • Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
  • It is recommended to change this parameter before starting Milvus for the first time.
  • Set an easy-to-identify root key prefix for Milvus if etcd service already exists.
  • /var/lib/milvus/rdb_data

    rocksmq.lrucacheratio

    Description Default Value
    rocksdb cache memory ratio 0.06

    rocksmq.rocksmqPageSize

    Description Default Value
    The maximum size of messages in each page in RocksMQ. Messages in RocksMQ are checked and cleared (when expired) in batch based on this parameters. Unit: Byte. 67108864

    rocksmq.retentionTimeInMinutes

    Description Default Value
    The maximum retention time of acked messages in RocksMQ. Acked messages in RocksMQ are retained for the specified period of time and then cleared. Unit: Minute. 4320

    rocksmq.retentionSizeInMB

    Description Default Value
    The maximum retention size of acked messages of each topic in RocksMQ. Acked messages in each topic are cleared if their size exceed this parameter. Unit: MB. 8192

    rocksmq.compactionInterval

    Description Default Value
    Time interval to trigger rocksdb compaction to remove deleted data. Unit: Second 86400

    rocksmq.compressionTypes

    Description Default Value
    compaction compression type, only support use 0,7. 0 means not compress, 7 will use zstd. Length of types means num of rocksdb level. 0,0,7,7,7

    Try Managed Milvus for Free

    Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

    Get Started
    Feedback

    Was this page helpful?