Code Monkey home page Code Monkey logo

acm2nacos-java-example's Introduction

acm2nacos-java-example

本仓库旨在给java用户提供acm迁移nacos的能跑通的demo。

在整个迁移过程中,用户只需要做两部操作:

1 参考https://help.aliyun.com/document_detail/312705.html 将配置从acm导出,并导入到nacos

2 在src/main/java目录下的Example类中进行下面进行如注释内容的替换。


    // 配置中心的endpoint。
    // 在ACM迁移MSE Nacos的过程中,需要将这个{serverAddr}替换为MSE Nacos的内网/外网地址。(可以在MSE Nacos集群的详情页的"基础信息"栏目中找到)
    static final String mseServerAddr = "{serverAddr}";
    static final String dataId = "{dataId}";
    static final String group = "{group}";
    static final Properties propertiesForMse;
    static final String keyId = "alias/acs/mse";
    // 购买的mse所在的region,比如cn-hangzhou
    static final String regionId = "{region}";
    
    // 账号的AK/SK
    static final String akForFather = "{ak}";
    static final String skForFather = "{sk}";

acm2nacos-java-example's People

Contributors

realjacksun avatar

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.