Skip to content

A framework of micro service with pub/sub messages instead of http request.

License

Notifications You must be signed in to change notification settings

myie9/MicroServiceByMsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MicroServiceByMsg

A framework of micro service with pub/sub messages instead of http request.

Pain - Spring cloud


What if many http last for 10 seconds?
Safety: Anyone who read src can call any api.

MicroServiceByMsg

How - Stable

How - Safety

  • Different account with different topic rights in single msg service

  • Different msg service


A person who read src doesn't know the msg service connect information which got from Nacos.
The front end(vue, android, ios, h5) could also use msg instead of http to communicate with back service.

How - Metrics

How - No limit language

What is the msg

  • The msg service could be pub/sub in redis service.
  • Could be mqtt by EMQ server.
  • Could be mqtt by mosquitto server.

How to authenticate front end

  • Could contain token which was generated by h5 login in msg body.

Please joint us

  • If you like it. Please star me.
  • If you practice it. Please pull request to write your story or demo code.

About

A framework of micro service with pub/sub messages instead of http request.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published