Giter VIP home page Giter VIP logo

akka-fusion / fusion-discoveryx Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 7.0 2.25 MB

基于Akka实现的服务注册与发现平台

Home Page: https://akka-fusion.github.io/fusion-discoveryx/

License: Apache License 2.0

Scala 28.99% JavaScript 67.37% Shell 0.43% HTML 1.38% CSS 0.98% Dockerfile 0.06% Java 0.66% PLSQL 0.14%
akka scala config-management discovery-service grpc akka-cluster akka-grpc typed-actor akka-typed

fusion-discoveryx's Introduction

Fusion DiscoveryX

Build Status

服务注册与发现管理系统,基于Akka生态开发。

产品文档:https://akka-fusion.github.io/fusion-discoveryx/

开发

Docker运行环境

docker-compose -f docker-compose.yml up -d // --build

若使用Cassandra做为后端存储,还需要初始化keyspace和相关表(PostgreSQL,Dockerfile已经初始化数据库表)。

docker exec fusion-discoveryx_cassandra cqlsh -f /docker-entrypoint-initdb.d/cassandra-schema.cql

-d后可添加参数:postgrescassandra只启动特定数据库。

服务发现测试

默认使用akka-persistence-jdbc(postgres) 数据库,若需要使用akka-persistence-cassandra请将测试类的配置文件修改为application-test_cassandra.conf

> discoveryx-server/testOnly fusion.discoveryx.server.naming.route.NamingManagementRouteTest

配置管理测试

> discoveryx-server/testOnly fusion.discoveryx.server.config.route.ConfigManagementRouteTest

Multi Node 测试

> discoveryx-functest/multi-jvm:testOnly fusion.discoveryx.functest.DiscoveryXMultiTest

Package, Deployment

./release.sh

生成的zip软件包在目录:discoveryx-server/target/universal

技术

功能 使用技术
开放API Akka gRPC
集群序例化 Protobuf
配置持久化 Akka Persistence
容错与扩展 Akka Cluster Sharding
REST Akka HTTP

fusion-discoveryx's People

Contributors

gongtiexin avatar yangbajing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fusion-discoveryx's Issues

还打算继续维护吗?要升级到Akka Typed吗?

看了你写的文章,国内用akka的人少,lightbend公司的这一套技术栈非常厉害,但是门槛有点高,我用akka写了个迁移elasticsearch数据的小工具,性能非常高,代码设计起来也很舒服,打算进一步扩大试用范围

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.