Infrastructure Prerequisites
Elastic Search
In order to install Elasticsearch instance Elastic Cloud on Kubernetes (ECK) can be used. Use ECK quickstart to deploy CRDs and create Elasticsearch instances: Elasticsearch instance:Postgres database
This plugin can work without this database, it will not store the audit data. Basic Postgres configurationConfiguration
Authorization configuration
The following variables need to be set in order to connect to the identity management platform:SECURITY_OAUTH2_BASE_SERVER_URLSECURITY_OAUTH2_CLIENT_CLIENT_IDSECURITY_OAUTH2_REALM
Datasource configuration
To store audit for searches this plugins use a postgres database. The following configuration details need to be added using environment variables:SPRING_DATASOURCE_URLSPRING_DATASOURCE_USERNAMESPRING_DATASOURCE_PASSWORD
Elastic search configuration
The connection to the Elasticsearch cluster is done over https using the Elasticsearch api. To connect to the it you will need to configure the connection details and index use to store customers.Kafka configuration
The following Kafka related configurations can be set by using environment variables:SPRING_KAFKA_BOOTSTRAP_SERVERS- address of the Kafka serverSPRING_KAFKA_CONSUMER_GROUP_ID- group of consumersKAFKA_CONSUMER_THREADS- the number of Kafka consumer threadsKAFKA_AUTH_EXCEPTION_RETRY_INTERVAL- the interval between retries afterAuthorizationExceptionis thrown byKafkaConsumerKAFKA_MESSAGE_MAX_BYTES- this is the largest size of the message that can be received by the broker from a producer.
KAFKA_TOPIC_CUSTOMER_SEARCH_INKAFKA_TOPIC_CUSTOMER_SEARCH_OUT
In order to match a request made to the customer management plugin, the engine will have to send the process id on a Kafka header.
Logging
The following environment variables could be set in order to control log levels:LOGGING_LEVEL_ROOT- root spring boot microservice logsLOGGING_LEVEL_APP- app level logs

