Skip to content

timeplus-io/java-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timeplus Java API demo

ApplicationSample.java contains three basic samples to demonstrate how to interacting with Timeplus Rest API.

  1. List streams (doc)
  2. List 10 queries (doc)
  3. Create query and get its results (doc)

You will need to setup the following environment variables:

export TIMEPLUS_API_KEY="<YOUR API KEY>"

# Make sure there is no trailing `/`
export TIMEPLUS_ADDRESS="https://us.timeplus.cloud" 

# This is the ID (not friendly name) of your workspace
export TIMEPLUS_WORKSPACE="<YOUR WORKSPACE ID>"

Then you can simply run make run to start the sample application.

About

Sample Java code to demo how to call Timeplus REST API (not for Proton)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published