public Map<String, Object> getProducerConfiguration() {
        val configProps = new HashMap<String, Object>();
        configProps.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapAddress);
        configProps.put(ProducerConfig.ACKS_CONFIG, "all");
        configProps.put(ProducerConfig.LINGER_MS_CONFIG, 1);
        configProps.put(ProducerConfig.RETRIES_CONFIG, 1);
        return configProps;
    }
Gets producer configuration.

@return the producer configuration
support/cas-server-support-kafka-core/src/main/java/org/apereo/cas/kafka/KafkaObjectFactory.java