GithubHelp home page GithubHelp logo

polaris-java-agent's Introduction

polaris-java-agent

README:

介绍

polaris-java-agent提供无侵入的方式,供Java应用与polaris进行对接,进行服务治理,提供以下功能:

  • 服务注册发现
  • 动态路由及负载均衡
  • 故障节点熔断
  • 服务限流[开发中]

当前支持基于以下框架开发的Java应用进行接入:

  • dubbox(version >= 2.8.4)
  • dubbo(version >= 2.7.0)[开发中]
  • spring-cloud(version >= 2020.0.0)[开发中]

本文档介绍如何使用polaris-java-agent接入polaris服务治理。

技术架构

polaris-java-agent通过Java字节码增强技术,将拦截器注入到应用中,实现北极星服务治理能力的对接。

配置项说明

polaris-java-agent提供以下配置项,所有的配置项都可以通过文件(polaris.config)以及系统变量(-D参数)的方式进行配置。

配置项 含义 是否必填 默认值
agent.application.namespace 服务的命名空间 default
agent.application.name 应用名,用于监控展示
agent.polaris.registry 北极星服务端IP地址
agent.application.healthcheck.ttl 服务检查检查TTL,单位秒 5
agent.consumer.refresh.interval 服务列表刷新周期,单位秒 2

使用指南

polaris-java-agent's People

Contributors

andrewshan avatar zifeiyu0531 avatar zyh2333 avatar polaris-admin avatar lx-ginger avatar chuntaojun avatar

Watchers

James Cloos 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.