@Override
        public void setSampleRate(final String sampleRate) {
            this.sampleRate = sampleRate;
        }
set sample rate.

@param sampleRate sample rate
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-pulsar/src/main/java/org/apache/shenyu/plugin/logging/pulsar/config/PulsarLogCollectConfig.java