Skip to content

chnfeeeeeef/galaxy-sdk-java

 
 

Repository files navigation

Galaxy Java SDK User Guide

Including SDKs of XiaoMi SDS, EMQ, EMR, and Talos.

INSTALLATION

  • If using maven to management, you can just depend latest jars from maven central repository.
  • Checkout to the newest release and use its version in dependency.

  • Use corresponding SDK artifactId.

  • For example, to use EMQ,

    <dependency>
      <groupId>com.xiaomi.infra.galaxy</groupId>
      <artifactId>galaxy-emq-client</artifactId>
      <version>1.2.7</version>
    </dependency>

NOTICE

  • HttpClient of our SDKs support multi-thread, if you need greater concurrency, you can create your own HttpClient and pass it to the constructor of class ClientFactory. (References and examples in galaxy-client-java, sds-android-examples): ClientFactory(Credential credential, HttpClient httpClient)

  • When compiling sds-android-examples, you must install Android SDK and set environment variable ANDROID_HOME to the install path of Android SDK before. Our examples used Android SDK API Level 19.

About

Java SDK for Xiaomi Structured Datastore Service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 91.3%
  • Scala 5.6%
  • Thrift 2.9%
  • Shell 0.2%