Additional Information

This section helps you to configure database and validate kafka.

Configuring Database

This section helps you to configure database in on-premise. Eventstore Microservice supports both mysql and mssql databases and it is configured to connect with mysql by default.

To configure the MySQL database, you should modify the following environmental variables available in the start-eventstore-mysql.sh/.bat file.

Environment Variables Values
DATABASE_KEY MySQL
Username and password of MySQL Enter your credentials
MYSQL_CONNECTIONURL jdbc:mysql://eventstore-db-service-np:3306/ms_eventstore

To configure the mssql database, you should modify the following environmental variables available in the start-eventstore-mssql.sh/.bat file.

Environment Variables Values
DATABASE_KEY MSSQL
Username and password of MSSQL Enter your credentials
MSSQL_CONNECTIONURL jdbc:sqlserver://eventstore-db-service:1433;databaseName=ms_eventstore

Kafka Validation

You can check if all the kafka pods are up and running (using the below commands) after you deploy the microservice onto Kubernetes.

  • kubectl get kakfatopics -n kafka – Used to return the list of topics
  • kubectl get pods -n kafka – Used to check the status of the pods
  • kubectl delete kafkatopic -n kafka <topic-name> - Used to delete the selected topics

Sample screenshot showing the result of kubectl get pods -n kafka command is given below.

Copyright © 2020- Temenos Headquarters SA

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

Feedback
x