Skip to content
Sam Dozor edited this page May 23, 2018 · 8 revisions

Welcome to the wiki for the mParticle Firehose Java SDK! This repo and wiki speaks specifically to the Java SDK for mParticle Firehose - SDKs for other languages are coming soon.

What is mParticle Firehose?

mParticle aims to allow our customers to send their data wherever they want it to go, and we integrate with many services across the mobile-app ecosystem in order to achieve that. mParticle Firehose is an API that lets anybody become one of our integration partners. Leveraging Amazon AWS's Lambda platform, mParticle will send your "lambda function" data as it comes into our system so that your function can then forward it along to your own API.

See the contents to the right or go here to get started.

Java SDK Javadocs

Check out the javadocs here

Including this Library

Java Version

Releases of this library are compiled using JDK 1.8 - any project using this library must also be compiled using JDK 1.8.

Maven/Gradle

mParticle deploys the Java SDK to Maven Central as the com.mparticle:java-sdk artifact:

dependencies {
    compile (
            'com.amazonaws:aws-lambda-java-core:1.1.0',
            'com.amazonaws:aws-lambda-java-events:1.1.0',
            'com.mparticle:java-sdk:1.1.+'
    )
}

Publish to a local Maven repo

Rather than using Maven Central, you can also publish the library to your local Maven server by cloning this repo and invoking the following:

./gradlew publishToMavenLocal

Building

You can clone this project and build the jar manually to include in your project's classpath:

./gradlew assemble

We also make the latest jar binaries available in the releases section of this repository.