Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.36 KB

README.md

File metadata and controls

78 lines (53 loc) · 2.36 KB

Prerequisites

  • Docker should be installed
  • Java 21 should be installed --> export JAVA_HOME=$(/usr/libexec/java_home -v 21)

docker-compose contains the followings


How to start the application

  • First way
  • Second way
    • Run docker-compose up -d command to start the services (OPTIONAL)
    • Run mvn clean install or mvn clean package
    • Run mvn spring-boot:run or ./mvnw spring-boot:run
  • Third way

Check and Test REST APIs via Swagger and Actuator


How to test Debezium

  • Connect to PostgreSQL with the provided connection details above

  • Run the following query to make sure there are records

    select *
    from inventory.customers;
    
  • Run the following script to update a record

    UPDATE inventory.customers
    SET email = '[email protected]'
    WHERE id = 1001;
    
  • Check Orders Inventory Customers Topic to make sure message is published


Reference Documentation

For further reference, please consider the following sections: