Giter Site home page Giter Site logo

vdaas / vald-client-java Goto Github PK

View Code? Open in Web Editor NEW
5.0 8.0 2.0 1.59 MB

A Java gRPC client library for Vald

Home Page: https://central.sonatype.com/artifact/org.vdaas.vald/vald-client-java

License: Apache License 2.0

Makefile 2.19% Java 88.75% Kotlin 8.87% Shell 0.20%
vald

vald-client-java's Introduction

vald-client-java

Maven Central Vald version java kotlin

A Java gRPC client library for Vald.

Usage

Dependency

Add vald-client-java into your project dependency.

For Maven pom.xml,

<dependency>
    <groupId>org.vdaas.vald</groupId>
    <artifactId>vald-client-java</artifactId>
    <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>io.grpc</groupId>
  <artifactId>grpc-api</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>io.grpc</groupId>
  <artifactId>grpc-core</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>io.grpc</groupId>
  <artifactId>grpc-stub</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>io.grpc</groupId>
  <artifactId>grpc-protobuf</artifactId>
  <version>x.y.z</version>
</dependency>
<dependency>
  <groupId>io.grpc</groupId>
  <artifactId>grpc-netty-shaded</artifactId>
  <version>x.y.z</version>
</dependency>

Gradle build.gradle,

implementation 'org.vdaas.vald:vald-client-java:x.y.z'
implementation 'io.grpc:grpc-api:x.y.z'
implementation 'io.grpc:grpc-core:x.y.z'
implementation 'io.grpc:grpc-stub:x.y.z'
implementation 'io.grpc:grpc-protobuf:x.y.z'
implementation 'io.grpc:grpc-netty-shaded:x.y.z'

io.grpc:grpc-netty-shaded can be replaced by io.grpc:grpc-okhttp or io.grpc:grpc-netty.

Example

Please refer the examples directory.

To run,

$ ./gradlew build
$ cd examples
$ ./gradlew shadowJar
$ java -jar build/libs/vald-client-java-example-0.0.1-all.jar

FOSSA Status

vald-client-java's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar gradle-update-robot avatar hlts2 avatar kevindiu avatar kmrmt avatar kpango avatar rinx avatar vankichi avatar vdaas-ci avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

fossabot samo1

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.