Pulsar启动时批处理是false而代码中是true

而在生产者代码:
@Bean(“batching_true”)
public Producer createPulsarProducer_myTopic1_batching_true() throws PulsarClientException {
Producer stringProducer = pulsarClient.newProducer(Schema.STRING).topic(myTopic1).enableBatching(true).create();
return stringProducer;
}
中却使用true,我不知道到底pulsar使用哪个配置?

INFO org.apache.pulsar.client.impl.ProducerStatsRecorderImpl - Starting P ulsar producer perf with config: {“topicName”:“persistent://public/functions/assignments”,“producerName”:“c-standalone-fw-local host-8080-scheduler-manager”,“sendTimeoutMs”:30000,“blockIfQueueFull”:true,“maxPendingMessages”:0,“maxPendingMessagesAcrossPart itions”:0,“messageRoutingMode”:“RoundRobinPartition”,“hashingScheme”:“JavaStringHash”,“cryptoFailureAction”:“FAIL”,“batchingMax PublishDelayMicros”:1000,“batchingPartitionSwitchFrequencyByPublishDelay”:10,“batchingMaxMessages”:1000,“batchingMaxBytes”:1310 72,“batchingEnabled”:false,“chunkingEnabled”:false,“compressionType”:“LZ4”,“initialSequenceId”:null,“autoUpdatePartitions”:true ,“autoUpdatePartitionsIntervalSeconds”:60,“multiSchema”:true,“accessMode”:“Exclusive”,“lazyStartPartitionedProducers”:false,“pr operties”:{},“initialSubscriptionName”:null}

pulsar启动日志中是这个生产者batchingEnabled属性值是false,并且我搜"batchingEnabled",只找到这一处。

解决了,在spring boot启动生产者时看到日志了:
Starting Pulsar producer perf with config: {“topicName”:“myTopic2”,“producerName”:null,“sendTimeoutMs”:30000,“blockIfQueueFull”:false,“maxPendingMessages”:0,“maxPendingMessagesAcrossPartitions”:0,“messageRoutingMode”:“RoundRobinPartition”,“hashingScheme”:“JavaStringHash”,“cryptoFailureAction”:“FAIL”,“batchingMaxPublishDelayMicros”:1000,“batchingPartitionSwitchFrequencyByPublishDelay”:10,“batchingMaxMessages”:1000,“batchingMaxBytes”:131072,“batchingEnabled”:true,