FastForward Client

FastForward client for Java.

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

eu.toolchain.ffwd
ArtifactId

ArtifactId

ffwd-client
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

FastForward Client
FastForward client for Java.
Project URL

Project URL

https://github.com/udoprog/ffwd-client-java
Source Code Management

Source Code Management

https://github.com/udoprog/ffwd-client-java

Download ffwd-client

How to add to project

<!-- https://jarcasting.com/artifacts/eu.toolchain.ffwd/ffwd-client/ -->
<dependency>
    <groupId>eu.toolchain.ffwd</groupId>
    <artifactId>ffwd-client</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/eu.toolchain.ffwd/ffwd-client/
implementation 'eu.toolchain.ffwd:ffwd-client:0.1.0'
// https://jarcasting.com/artifacts/eu.toolchain.ffwd/ffwd-client/
implementation ("eu.toolchain.ffwd:ffwd-client:0.1.0")
'eu.toolchain.ffwd:ffwd-client:jar:0.1.0'
<dependency org="eu.toolchain.ffwd" name="ffwd-client" rev="0.1.0">
  <artifact name="ffwd-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='eu.toolchain.ffwd', module='ffwd-client', version='0.1.0')
)
libraryDependencies += "eu.toolchain.ffwd" % "ffwd-client" % "0.1.0"
[eu.toolchain.ffwd/ffwd-client "0.1.0"]

Dependencies

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.12.6

Project Modules

There are no modules declared in this project.

A java client to FastForward

CircleCI

A java client for the native protobuf protocol of ffwd.

Usage

<dependency>
    <groupId>com.spotify.ffwd</groupId>
    <artifactId>ffwd-client</artifactId>
    <version>LATEST-VERSION</version>
</dependency>
public class Foo {
    private static final FastForward ffwd = FastForward.setup();
    private static final Metric metric = FastForward.metric("foo.metric").attribute("class", Foo.class.getCanonicalName());

    public void run() throws IOException {
        ffwd.send(metric.value(42));
    }
}

OpenCensus Exporter

All registered OpenCensus Stats views will be exported to FFWD.

At this time histograms/distributions are not supported in Heroic until #476 is resolved.

<dependency>
    <groupId>com.spotify.ffwd</groupId>
    <artifactId>opencensus-exporter</artifactId>
    <version>LATEST-VERSION</version>
</dependency>
com.spotify.ffwd.FfwdStatsExporter.createAndRegister(
   com.spotify.ffwd.FfwdStatsConfiguration.builder().setExporterIntervalSeconds(30).build()
);

Contributing

  1. Fork ffwd-java-client from GitHub and clone your fork.
  2. Hack.
  3. Push the branch back to GitHub.
  4. Send a pull request to our upstream repo.

Releasing

Releasing is done via the maven-release-plugin and nexus-staging-plugin which are configured via the release profile. Deploys are staged in oss.sonatype.org before being deployed to Maven Central. Check out the maven-release-plugin docs and the nexus-staging-plugin docs for more information.

To release, first run:

mvn -P release release:prepare

You will be prompted for the release version and the next development version. On success, follow with:

mvn -P release release:perform

Versions

Version
0.1.0
0.0.3
0.0.2
0.0.1