public Map<String, Object> getConsumerConfiguration() {
        val props = new HashMap<String, Object>();
        props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapAddress);
        props.put(ConsumerConfig.GROUP_ID_CONFIG, this.consumerGroupId);
        return props;
    }
Gets consumer configuration.

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