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>

Copyright © 2020- Temenos Headquarters SA

Published on :
Wednesday, October 12, 2022 6:50:03 PM IST

Feedback
x