Additional Information

This section describes the steps to configure database and validate Kafka.

Configuring Database

Generic Configuration Microservice supports both MongoDB and PostgreSQL. By default, it is configured to connect with MongoDB.

To configure database:

  • For MongoDB, modify the connection URL in the start-genericconfig.sh/.bat file.
    DATABASE_KEY=mongodb
    MONGODB_CONNECTIONSTR=mongodb://mongodb-0.mongodb-svc.mongodb.svc.cluster.local:27017
  • For PostgreSQL, modify the following in the start-entitlement-postgresql.sh/.bat file.

    • DATABASE_KEY=postgresql
    • Username and password of PostgreSQL
    • POSTGRESQL_CONNECTIONURL=jdbc:postgresql://gc-postgresqldb-service.postgresql.svc.cluster.local:5432/genericconfigdb

Validating Kafka

Check whether all the Kafka pods are up and running using the below commands.

kubectl get kakfatopics -n kafka
kubectl get pods -n kafka
kubectl delete kafkatopic -n kafka <topic-name>


Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, May 23, 2023 7:46:45 PM IST