Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

dtmcli-java-spring-sample

License

NotificationsYou must be signed in to change notification settings

dtm-labs/dtmcli-java-spring-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start dtm

For how to start dtm, please refer togithub.com/dtm-labs/dtm

Specify the following configuration: (use commanddtm -c conf.yml orgo run main.go -c conf.yml)

MicroService:Driver:'dtm-driver-springcloud'# name of the driver to handle register/discoverTarget:'{"Addr":"127.0.0.1:8848,127.0.0.1:8848","Type":"nacos", "InstanceConfig":{"ServiceName":"dtmService","Enable":true,"Healthy":true,"Weight":10},"ClientConfig":{"NamespaceId":"c3dc917d-906a-429d-90a9-85012b41014e","UserName":"nacos","Password":"nacos","NotLoadCacheAtStart":true}}'EndPoint:'localhost:36789'

Start sample

mvn exec:java -Dexec.mainClass="pub.dtm.sample.DtmcliJavaSampleV2Application"

Fire a request

curl localhost:8888/testSagaMscurl localhost:8888/tccms

About

dtmcli-java-spring-sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp