https://github.com/dinstone/vertx-mesh
service mesh by vertx
https://github.com/dinstone/vertx-mesh
Last synced: about 1 year ago
JSON representation
service mesh by vertx
- Host: GitHub
- URL: https://github.com/dinstone/vertx-mesh
- Owner: dinstone
- Created: 2018-01-27T09:46:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T10:06:19.000Z (over 8 years ago)
- Last Synced: 2025-04-07T03:34:36.275Z (about 1 year ago)
- Language: Java
- Size: 24.4 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vertx-mesh
Vertx-mesh is a service mesh implement that is based on Vert.x
# what' the service mesh mean?

# How to start?
## start vertx-mesh
```
java -Dconfig.file=config.json com.dinstone.mesh.vertx.ApplicationActivator
java -Dconfig.file=config-7074.json com.dinstone.mesh.vertx.ApplicationActivator
```
## register service to vertx-mesh
create service 'magnet' and endpoint on localhost:8988, then register service to vertx-mesh by admin endpoint(localhost:8888/upline).
```
curl --request GET --url 'http://localhost:8888/upline?service-name=magnet.online&service-port=8988&service-health=/info'
```
## invoke service 'magnet' by vertx-mesh
api pattern:
```
curl --request GET --url 'http://localhost:7070/magnet.online/info'
```
proxy pattern:
```
curl --request GET --url 'http://localhost:7474/info' --header 'host: magnet.online'
```