Skip to content

fvlad/spring-cloud-stream-pause

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Spring Cloud Stream pause endpoint check

  1. Make sure there are Kafka and Zookeeper running on localhost:9092 and localhost:2181 with sleuth_topic created (can be adjusted in demo/src/main/java/resources/application.yml)
  2. Run mvn spring-boot:run from demo
  3. Try curl -X POST localhost:8081/pause and check demo logs for "Lifecycle Bean stopped" message (no message).
  4. Remove all Sleuth and Cloud Stream related dependencies from demo/pom.xml
  5. Rerun demo and try curl -X POST localhost:8081/pause again. Check logs for "Lifecycle Bean stopped" (present).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published