milvus-logo
LFAI
Home
  • Administration Guide

pulsar-related Configurations

Related configuration of pulsar, used to manage Milvus logs of recent mutation operations, output streaming log, and provide log publish-subscribe services.

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. 6650

    pulsar.webport

    Description Default Value
    Web port of of Pulsar service. If you connect direcly without proxy, should use 8080. 80

    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

    pulsar.tenant

    Description Default Value
  • Pulsar can be provisioned for specific tenants with appropriate capacity allocated to the tenant.
  • To share a Pulsar instance among multiple Milvus instances, you can change this to an Pulsar tenant rather than the default one for each Milvus instance before you start them. However, if you do not want Pulsar multi-tenancy, you are advised to change msgChannel.chanNamePrefix.cluster to the different value.
  • public

    pulsar.namespace

    Description Default Value
    A Pulsar namespace is the administrative unit nomenclature within a tenant. default

    pulsar.requestTimeout

    Description Default Value
    pulsar client global request timeout in seconds 60

    pulsar.enableClientMetrics

    Description Default Value
    Whether to register pulsar client metrics into milvus metrics path. false