Skip to content

Repo to contain producer code. Part of the CDC expert talk.

Notifications You must be signed in to change notification settings

prashantkalkar/user-service

Repository files navigation

user-service

Repo to contain producer code. Part of the CDC expert talk.

How to start a service:

Make sure you have jdk and mvn installed and added in the path

Run following command to make service up:

mvn spring-boot:run -Dserver.port=8888

Service endpoints:

/user GET request:

curl -X GET http://localhost:8888/user/myID 

Response: HTTP 200 with body:

{
    "name": "paresh",
    "email": "paresh@ee.com",
    "contact": "9888988786",
    "address": "pune"
}

How to run CDC test:

mvn clean install or mvn test

It will run the CDC test generated by Consumer (Order) service.

About

Repo to contain producer code. Part of the CDC expert talk.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages