milvus-logo

Pulsar-related Configurations

This topic introduces the Pulsar-related configurations of Milvus.

Pulsar is the underlying engine supporting Milvus cluster's reliable storage and publication/subscription of message streams.

Under this section, you can configure Pulsar address, the message size, etc.

pulsar.address

Description Default Value
  • IP address of Pulsar service.
  • Environment variable: PULSAR_ADDRESS
  • pulsar.address and pulsar.port together generate the valid access to Pulsar.
  • Pulsar preferentially acquires the valid IP address from the environment variable PULSAR_ADDRESS when Milvus is started.
  • Default value applies when Pulsar is running on the same network with Milvus.
  • localhost

    pulsar.port

    Description Default Value
  • Port of Pulsar service.
  • Environment variable: PULSAR_ADDRESS
  • pulsar.address and pulsar.port together generate the valid access to Pulsar.
  • Pulsar preferentially acquires the valid port from the environment variable PULSAR_ADDRESS when Milvus is started.
  • 6650

    pulsar.maxMessageSize

    Description Default Value
  • The maximum size of each message in Pulsar.
  • Unit: Byte
  • By default, Pulsar can transmit at most 5 MB of data in a single message. When the size of inserted data is greater than this value, proxy fragments the data into multiple messages to ensure that they can be transmitted correctly.
  • If the corresponding parameter in Pulsar remains unchanged, increasing this configuration will cause Milvus to fail, and reducing it produces no advantage.
  • 5242880
    On this page