Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

polarismesh/polaris-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

685 Commits

Repository files navigation

Polaris Java

codecov Build Status Maven Central

English | 简体中文

README:

Introduction

polaris-java is the Java SDK, support SDK API for application to use polaris

How to build

polaris-java uses Maven for most build-related activities, and JDK 1.8 or later versions are supported. You should be able to get off the ground quite quickly by cloning the project you are interested in and typing:

mvn clean install

How to use

Modify pom.xml in application root, add dependencyManagement for polaris-java:

<dependencyManagement>
 <dependencies>
 <dependency>
 <groupId>com.tencent.polaris</groupId>
 <artifactId>polaris-dependencies</artifactId>
 <version>1.9.1</version>
 <type>pom</type>
 <scope>import</scope>
 </dependency>
 </dependencies>
</dependencyManagement>

add the module in dependencies.

Examples

A polaris-examples module is included in our project for you to get started with polaris-java quickly. It contains an example, and you can refer to the readme file in the example project for a quick walkthrough.

Frameworks

Developers usually use HTTP or RPC frameworks to develop distributed service. Polaris SDK is already integrated into some development frameworks. If using these frameworks, you can enable Polaris Service Governance functions without using Polaris SDK directly.

AltStyle によって変換されたページ (->オリジナル) /