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.
To share a Pulsar instance with multi-tenancy enabled among multiple Milvus instances, you need to change pulsar.tenant
or pulsar.namespace
to a unique value for each of the Milvus instances.
To share a Pulsar instance with multi-tenancy disabled among multiple Milvus instances, you need to change msgChannel.chanNamePrefix.cluster
to a unique value for each of the Milvus instances.
For details, refer to
Operation FAQs.
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 |
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 |
Description |
Default Value |
Web port of of Pulsar service.
If you connect direcly without proxy, should use 8080
|
80 |
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 |
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. For details, see Operation FAQs.
|
public |
Description |
Default Value |
A Pulsar namespace is the administrative unit nomenclature within a 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. For details, see Operation FAQs.
|
default |