Metamorphosis allows you to connect on nats topics, create agents to transform the data and make decisions using Groovy Script.
##Features
- Transform data from a topic using dynamic script
- Make decisions where the message will be delivered after the transformation using a second dynamic script
- Configure if the messages will be processed ordered or not.
You need to have the latest version of Docker installed to run this example
One node:
./build-container-image.sh
./run-all.sh
Access http://localhost:8081/
Stop
./stop-all.sh
Multiple nodes:
./build-container-image.sh
./run-data.sh
./run-node0.sh
./run-node1.sh
./run-noden.sh
Access http://localhost:8081/ and http://localhost:8082/
Stop
./stop-data.sh
docker rm -f node00
docker rm -f node01
One node:
build-container-image.bat
run-all.bat
Access http://localhost:8081/
Stop
stop-all.bat
Multiple nodes:
build-container-image.bat
run-data.bat
run-node0.bat
run-node1.bat
run-noden.bat
Access http://localhost:8081/ and http://localhost:8082/
Stop
./stop-data.sh
docker rm -f node00
docker rm -f node01
- 0.0.1
- Work in progress
Diego Silva – @diegosinf – [email protected]
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/dfsilva/metamorphosis
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request