Skip to content

capa-cloud/cloud-runtimes-jvm

Repository files navigation

Cloud Runtimes JVM

Cloud Runtimes Specification for the JVM.

Introduction

The Multi-Runtime Standard API for Mecha architecture Projects:

Motivation

[Discussion] Future plans for dapr api

Make java-sdk as a independent project

Decompose core-API and enhanced-API.

Java sdk design

Features

  • Service Invocation (RPC)
  • Configuration Centor (Configuration)
  • Publish/Subscribe (Pub/Sub)
  • State Management (State)
  • Secret Management (Secret)
  • Binding External System (Binding)
  • File System (File)
  • Distribute Lock (Lock)
  • Application Log/Metrics/Traces (Telemetry)
  • Database (DB) -alpha
  • Schedule (Schedule) -alpha
  • RateLimit (RateLimit) -alpha
  • Environment (Env) -alpha
  • Native Redis (Redis) -alpha
  • Native SQL (SQL) -alpha
  • Native S3 (S3) -alpha
  • ...

Getting Started

Importing CloudRuntimes's Java SDK

For a Maven project, add the following to your pom.xml file:

<project>
    ...
    <dependencies>
        ...
        <!-- https://mvnrepository.com/artifact/group.rxcloud/cloud-runtimes-api -->
        <dependency>
            <groupId>group.rxcloud</groupId>
            <artifactId>cloud-runtimes-api</artifactId>
            <version>1.19.RELEASE</version>
        </dependency>
        ...
    </dependencies>
    ...
</project>

For a Gradle project, add the following to your build.gradle file:

dependencies {
   // ...
   // https://mvnrepository.com/artifact/group.rxcloud/cloud-runtimes-api
   implementation group: 'group.rxcloud', name: 'cloud-runtimes-api', version: '1.19.RELEASE'
}