PartitionCount
getset
public int PartitionCount The number of partitions in the stream. This determines the number of pooling agents that will be created on this Orleans Cluster. This is mapped to a deterministic partitioning scheme of the NATS JetStream stream. The partitions are mapped from "[Provider-Name].*.*" to "[Provider-Name].{{partition([PartitionCount],1,2)}}.{{wildcard(1)}}.{{wildcard(2)}}". For details on how partitioning works in NATS JetStream, see Defaults to 8. Increase it if you need more parallelism. Deterministic partition scheme is a NATS server construct. This provider when started at the first time will create the stream with the partition scheme. If you need to change the partition count, you need to modify the value of this property and, you need to manually modify it on NATS Server first since the provider will not make updates to the JetStream stream definition.
