To configure Event Store, user needs to update the event properties and Elastic Search database files.

events.properties

In events.properties file update following:

<Path_to_EventStore_Installation>/config/eventstore.properties'

    esUrl= "<ip>:<port>,<ip>:<port>,<ip>:<port>"        
    esUsername = "Test"         
    esPassword = "ENCRYPTED_PASSWORD"
    esProto = "http" # Elastic search is http/https protocol         
     esCertLoc = "", # Elastic search cluster is https enabled then add the certification to the given location

Elastic Search

In Elastic Search database file update the following:

'<ip>:<port>/configuration/config/eps/'

    httpPort = "9090" # Event Store http port   
    # Elastic Search DB configurations for storing Notifications and Audits   
    esUrl = "<ip>:<port>,<ip>:<port>,<ip>:<port>" # Elastic search cluster URL       
    esUsername = "Test" # Elastic Search DB user name       
    esPassword = "ENCRYPTED_PASSWORD" # Elastic Search DB Password          
    # Kafka Configurations for reading Notifications from DCF  
    kafkaUrl = "<ip>:<port>,<ip>:<port>,<ip>:<port>" # Kafka URL        
    kafkaTopic = "SAMNotifications" # Kafka Topic  
    kafkaUser = "kafkaadmin"        # Kafka User Name       
    kafkaPassword = "ENCRYPTED_PASSWORD" # Kafka Password       
    # Redis used as Cache  
    redisCluster = "<ip>:<port>,<ip>:<port>,<ip>:<port>" # Redis Cluster URL        
    redisPassword = "ENCRYPTED_PASSWORD" # Redis Password       
    # Logger Configuration  
    logLocation = "<Path_to_EventStore_Installation>/logs/notifications.log"       # EventStore Log Location          
    logLevel = "ERROR" 
    # Archival Notifications for removing from Elastic Search and storing in a file  
    purging-scheduler-TimeInterval = "24h" # Scheduler Time Interval        
    purgingTimeLimit = "now-1y-0M-0d" # How many days to retain notifications in ES DB          
    esdb-repo = "" # Elastic search Repo to Archive Notifications        
    #SAM Details for ACK,UNACK,Change Ownership, Release Ownership 
    sam-details = "<ip>:<port>" # SAM URL   
    # User Session Configurations  
    userTokenTTL = "10800"          
    userGracePeriod = "300"  
    # Https configuratons  
    esProto = "http" # Elastic search is http/https protocol         
    esCertLoc = "", # Elastic search cluster is https enabled then add the certification to the given location       
    samProto = "http", # SAM is http/https protocol         
    samCertLoc = ""  # SAM is https enabled then add the certification to the given location