Giter VIP home page Giter VIP logo

warp10-scala-client's Introduction

master: Build Status

This is a scala client for Warp10 Geo/time series DB

It is based on the http4s client, and the Pooled HTTP client, keeping TCP connection alive. Configuration of the Client is here

Features

This client is able to send data to the warp10 DB ATM. It's the main purpose and usage for the time being, on my side there is no active work on fetching data, PR welcome.

How to add to your project

Add the dependency to your build.sbt:

"com.clevercloud" %% "warp10-scala-client" % "2.0.3"

Add the resolver:

resolvers += "Clever Cloud Bintray" at "https://dl.bintray.com/clevercloud/maven"

Download You can add yourself to the watchers list on the Bintray repo to be notified of new versions: https://bintray.com/clevercloud/maven/warp10-scala-client

Code examples

val w10client = new Warp10Client(Uri.uri("http://localhost:8080/"), "WRITE")
w10client.sendData(Warp10Data(time, None, "org.test.plain.string", Set("label1" -> "dsfF3", "label2" -> "dsfg"), "data string test")).run

Look at the tests directory for functional tests and code examples

warp10-scala-client's People

Contributors

aurrelhebert avatar judu avatar keruspe avatar urcadox avatar waxzce avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

warp10-scala-client's Issues

Handle parsing of the URI

In my opinion, the client should not expect a org.https4s.Uri but a simple string.

It's the client's job to make sure that the URI is correct.

compile against scala 2.12 and push to bintray

We want to use this library for our project but we use scala 2.12. Unfortunately warp10-scala-client is not available into bintray for this language level. Can you please push your released version with scala 2.12?

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.