diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index cce74a2d90..0000000000
--- a/.gitattributes
+++ /dev/null
@@ -1,26 +0,0 @@
-# The default behavior, which overrides 'core.autocrlf', is to use Git's
-# built-in heuristics to determine whether a particular file is text or binary.
-# Text files are automatically normalized to the user's platforms.
-* text=auto
-
-# Explicitly declare text files that should always be normalized and converted
-# to native line endings.
-.gitattributes text
-.gitignore text
-LICENSE text
-*.avsc text
-*.html text
-*.java text
-*.md text
-*.properties text
-*.proto text
-*.py text
-*.sh text
-*.xml text
-*.yml text
-
-# Declare files that will always have CRLF line endings on checkout.
-# *.sln text eol=crlf
-
-# Explicitly denote all files that are truly binary and should not be modified.
-# *.jpg binary
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 0ba351f6d6..0000000000
--- a/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
-target/
-
-# Ignore IntelliJ files.
-.idea/
-*.iml
-*.ipr
-*.iws
-
-# Ignore Eclipse files.
-.classpath
-.project
-.settings/
-
-# The build process generates the dependency-reduced POM, but it shouldn't be
-# committed.
-dependency-reduced-pom.xml
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 51926a3d8c..0000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-language: java
-
-sudo: false
-
-notifications:
- email:
- # Group email notifications are disabled for now, since we cannot do it on a per-branch basis.
- # Right now, it would trigger a notification for each fork, which generates a lot of spam.
- # recipients:
- # - dataflow-sdk-build-notifications+travis@google.com
- on_success: change
- on_failure: always
-
-matrix:
- include:
- # On OSX, run with default JDK only.
- - os: osx
- env: MAVEN_OVERRIDE=""
- # On Linux, run with specific JDKs only.
- - os: linux
- env: CUSTOM_JDK="oraclejdk8" MAVEN_OVERRIDE="-Ddataflow.surefire_argline='-Xmx512m'"
- - os: linux
- env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="-Ddataflow.surefire_argline='-Xmx512m'"
- - os: linux
- env: CUSTOM_JDK="openjdk7" MAVEN_OVERRIDE="-Ddataflow.surefire_argline='-Xmx512m'"
-
-before_install:
- - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi
-
-install:
- - travis_retry mvn install clean -U -DskipTests=true
- - travis_retry mvn -f contrib/kafka/pom.xml install clean -U -DskipTests=true
-
-script:
- - travis_retry mvn $MAVEN_OVERRIDE install -U
- - travis_retry mvn -f contrib/kafka/pom.xml $MAVEN_OVERRIDE install -U
- - travis_retry travis/test_wordcount.sh
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
deleted file mode 100644
index 8b0fcba196..0000000000
--- a/CONTRIBUTING.md
+++ /dev/null
@@ -1,31 +0,0 @@
-Want to contribute? Great! First, read this page (including the small print at
-the end).
-
-### Before you contribute
-Before we can use your code, you must sign the
-[Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual?csw=1)
-(CLA), which you can do online. The CLA is necessary mainly because you own the
-copyright to your changes, even after your contribution becomes part of our
-codebase, so we need your permission to use and distribute your code. We also
-need to be sure of various other things. For instance that you'll tell us if you
-know that your code infringes on other people's patents. You don't have to sign
-the CLA until after you've submitted your code for review and a member has
-approved it, but you must do it before we can put your code into our codebase.
-
-Before you start working on a larger contribution, we recommend to get in touch
-with us first through the issue tracker with your idea so that we can help out
-and possibly guide you. Coordinating up front makes it much easier to avoid
-frustration later on.
-
-### Code reviews
-All submissions, including submissions by project members, require review. We
-use GitHub pull requests for this purpose.
-
-### Organization
-During our review and triage of incoming pull requests, we'll advise whether to
-include your contribution into the mainline SDK, or to maintain it within the
-separate group of [community-contributed modules](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/tree/master/contrib).
-
-### The small print
-Contributions made by corporations are covered by a different agreement than
-the one above, the Software Grant and Corporate Contributor License Agreement.
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index d645695673..0000000000
--- a/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/README.md b/README.md
index d5345a38c1..dfb630ad79 100644
--- a/README.md
+++ b/README.md
@@ -1,125 +1,49 @@
-# Google Cloud Dataflow SDK for Java
-
-[Google Cloud Dataflow](https://cloud.google.com/dataflow/) provides a simple,
-powerful programming model for building both batch and streaming parallel data
-processing pipelines. This repository hosts the open-sourced Cloud Dataflow SDK
-for Java, which can be used to run pipelines against the Google Cloud Dataflow
-Service.
-
-[General usage](https://cloud.google.com/dataflow/getting-started) of Google
-Cloud Dataflow does **not** require use of this repository. Instead:
-
-1. depend directly on a specific
-[version](https://cloud.google.com/dataflow/release-notes/java) of the SDK in
-the [Maven Central Repository](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.google.cloud.dataflow%22)
-by adding the following dependency to development
-environments like Eclipse or Apache Maven:
-
-
- com.google.cloud.dataflow
- google-cloud-dataflow-java-sdk-all
- version_number
-
-
-1. download the example pipelines from the separate
-[DataflowJavaSDK-examples](https://github.com/GoogleCloudPlatform/DataflowJavaSDK-examples)
-repository.
+
-## Overview
-
-The key concepts in this programming model are:
-
-* [`PCollection`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/values/PCollection.java):
-represents a collection of data, which could be bounded or unbounded in size.
-* [`PTransform`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/transforms/PTransform.java):
-represents a computation that transforms input PCollections into output
-PCollections.
-* [`Pipeline`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/Pipeline.java):
-manages a directed acyclic graph of PTransforms and PCollections that is ready
-for execution.
-* [`PipelineRunner`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/PipelineRunner.java):
-specifies where and how the pipeline should execute.
-
-We provide three PipelineRunners:
-
- 1. The [`DirectPipelineRunner`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/DirectPipelineRunner.java)
-runs the pipeline on your local machine.
- 2. The [`DataflowPipelineRunner`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/DataflowPipelineRunner.java)
-submits the pipeline to the Dataflow Service, where it runs using managed
-resources in the [Google Cloud Platform](https://cloud.google.com) (GCP).
- 3. The [`BlockingDataflowPipelineRunner`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/BlockingDataflowPipelineRunner.java)
-submits the pipeline to the Dataflow Service via the `DataflowPipelineRunner`
-and then prints messages about the job status until the execution is complete.
+# Google Cloud Dataflow SDK for Java
-The SDK is built to be extensible and support additional execution environments
-beyond local execution and the Google Cloud Dataflow Service. In partnership
-with [Cloudera](https://www.cloudera.com/), you can run Dataflow pipelines on
-an [Apache Spark](https://spark.apache.org/) backend using the
-[`SparkPipelineRunner`](https://github.com/cloudera/spark-dataflow).
-Additionally, you can run Dataflow pipelines on an
-[Apache Flink](https://flink.apache.org/) backend using the
-[`FlinkPipelineRunner`](https://github.com/dataArtisans/flink-dataflow).
+[Google Cloud Dataflow](https://cloud.google.com/dataflow/) is a service for executing [Apache Beam](https://beam.apache.org) pipelines on Google Cloud Platform.
## Getting Started
-This repository consists of the following parts:
+* [Quickstart Using Java](https://cloud.google.com/dataflow/docs/quickstarts/quickstart-java-maven) on Google Cloud Dataflow
+* [Java API Reference](https://beam.apache.org/documentation/sdks/javadoc/)
+* [Java Examples](https://github.com/apache/beam/tree/master/examples/java)
-* The [`sdk`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/sdk)
-module provides a set of basic Java APIs to program against.
-* The [`examples`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/examples)
-module provides a few samples to get started. We recommend starting with the
-`WordCount` example.
-* The [`contrib`](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/contrib)
-directory hosts community-contributed Dataflow modules.
+## We moved to Apache Beam!
+Apache Beam Java SDK and the code development moved to the [Apache Beam repo](https://github.com/apache/beam/tree/master/sdks/java).
-The following command will build both the `sdk` and `example` modules and
-install them in your local Maven repository:
-
- mvn clean install
-
-You can speed up the build and install process by using the following options:
-
- 1. To skip execution of the unit tests, run:
-
- mvn install -DskipTests
-
- 2. While iterating on a specific module, use the following command to compile
- and reinstall it. For example, to reinstall the `examples` module, run:
-
- mvn install -pl examples
-
- Be careful, however, as this command will use the most recently installed SDK
- from the local repository (or Maven Central) even if you have changed it
- locally.
-
-If you are using [Eclipse](https://eclipse.org/) integrated development
-environment (IDE), the
-[Cloud Dataflow Plugin for Eclipse](https://cloud.google.com/dataflow/getting-started-eclipse)
-provides tools to create and execute Dataflow pipelines locally and on the
-Dataflow Service.
-
-After building and installing, you can execute the `WordCount` and other
-example pipelines by following the instructions in this
-[README](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/examples/README.md).
+If you want to contribute to the project (please do!) use this [Apache Beam contributor's guide](http://beam.apache.org/contribution-guide/)
## Contact Us
-We welcome all usage-related questions on [Stack Overflow](http://stackoverflow.com/questions/tagged/google-cloud-dataflow)
+We welcome all usage-related questions on
+[Stack Overflow](https://stackoverflow.com/questions/tagged/google-cloud-dataflow)
tagged with `google-cloud-dataflow`.
-Please use [issue tracker](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues)
-on GitHub to report any bugs, comments or questions regarding SDK development.
+Please use the
+[issue tracker](https://issues.apache.org/jira/browse/BEAM)
+on Apache JIRA to report any bugs, comments or questions regarding SDK development.
## More Information
* [Google Cloud Dataflow](https://cloud.google.com/dataflow/)
-* [Dataflow Concepts and Programming Model](https://cloud.google.com/dataflow/model/programming-model)
-* [Java API Reference](https://cloud.google.com/dataflow/java-sdk/JavaDoc/index)
+* [Apache Beam](https://beam.apache.org/)
+* [Dataflow Concepts and Programming Model](https://beam.apache.org/documentation/programming-guide/)
+* [Java API Reference](https://beam.apache.org/documentation/sdks/javadoc/)
+
+_Apache, Apache Beam and the orange letter B logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries._
diff --git a/checkstyle.xml b/checkstyle.xml
deleted file mode 100644
index 3d99556795..0000000000
--- a/checkstyle.xml
+++ /dev/null
@@ -1,458 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/contrib/README.md b/contrib/README.md
deleted file mode 100644
index b99cf46f58..0000000000
--- a/contrib/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# Community contributions
-
-This directory hosts a wide variety of community contributions that may be
-useful to other users of
-[Google Cloud Dataflow](https://cloud.google.com/dataflow/),
-but may not be appropriate or ready yet for inclusion into the
-[mainline SDK](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/) or a
-separate Google-maintained artifact.
-
-## Organization
-
-Each subdirectory represents a logically separate and independent module.
-Preferably, the code is hosted directly in this repository. When appropriate, we
-are also open to linking external repositories via
-[`submodule`](http://git-scm.com/docs/git-submodule/) functionality within Git.
-
-While we are happy to host individual modules to provide additional value to all
-Cloud Dataflow users, the modules are _maintained solely by their respective
-authors_. We will make sure that modules are related to Cloud Dataflow, that
-they are distributed under the same license as the mainline SDK, and provide
-some guidance to the authors to make the quality as high as possible.
-
-We __cannot__, however, provide _any_ guarantees about correctness,
-compatibility, performance, support, test coverage, maintenance or future
-availability of individual modules hosted here.
-
-## Process
-
-In general, we recommend to get in touch with us through the issue tracker
-first. That way we can help out and possibly guide you. Coordinating up front
-makes it much easier to avoid frustration later on.
-
-We welcome pull requests with a new module from everyone. Every module must be
-related to Cloud Dataflow and must have an informative README.md file. We will
-provide general guidance, but usually won't be reviewing the module in detail.
-We reserve the right to refuse acceptance to any module, or remove it at any
-time in the future.
-
-We also welcome improvements to an existing module from everyone. We'll often
-wait for comments from the primary author of the module before merging a pull
-request from a non-primary author.
-
-As the module matures, we may choose to pull it directly into the mainline SDK
-or promote it to a Google-managed artifact.
-
-## Licensing
-
-We require all contributors to sign the Contributor License Agreement, exactly
-as we require for any contributions to the mainline SDK. More information is
-available in our [CONTRIBUTING.md](https://github.com/GoogleCloudPlatform/DataflowJavaSDK/blob/master/CONTRIBUTING.md)
-file.
-
-_Thank you for your contribution to the Cloud Dataflow community!_
diff --git a/contrib/firebaseio/AUTHORS.md b/contrib/firebaseio/AUTHORS.md
deleted file mode 100644
index ac5722ea5b..0000000000
--- a/contrib/firebaseio/AUTHORS.md
+++ /dev/null
@@ -1 +0,0 @@
-elibixby [@ github, google, gmail ]
diff --git a/contrib/firebaseio/README.md b/contrib/firebaseio/README.md
deleted file mode 100644
index 776b3d54fc..0000000000
--- a/contrib/firebaseio/README.md
+++ /dev/null
@@ -1,15 +0,0 @@
-## FirebaseIO for Dataflow
-
-This library includes two components for communicating with [Firebase](https://www.firebase.com/) from Dataflow:
-
-* `FirebaseSource` an `UnboundedSource` which can watch a Firebase ref for events and attempts (but does not guarantee) to deliver those events in order to the Dataflow pipeline. The source will unmarshal `DataSnapshot`s generated by these events into the paramaterized type specified by your `FirebaseSource`, which can be any object serializable by Jackson.
-
-* Various `FirebaseDoFn` which can be used to write data to a firebase:
- * `DoFirebasePush` will attach unique and time-ordered strings as keys to objects recieved from the pipeline.
- * `DoFirebaseSet` will overriding data at the key's location with the specified `Object`
- * `DoFirebaseUpdate` will update the tree at the ref with the given `Map`
-
-
-These utilities also use various `FirebaseEvents` to wrap your unmarshalled data in a Jackson Serializable POJO, which retains event type information. So for example you could filter a pipeline on `ChildAdded` events, where your original `DataSnapshot` was unmarshalled into a Jackson Serializable POJO of type `T`.
-
-The library uses the firebase JVM client library and as such takes advantage of Web sockets for data transfer. However this means that writing to Firebase will use one websocket per shard, so if you plan to fan out your writes, make sure to limit the parallelism with `PTransform#withMaxParallelism` to avoid capping out your available connections.
diff --git a/contrib/firebaseio/pom.xml b/contrib/firebaseio/pom.xml
deleted file mode 100644
index bf5414e24f..0000000000
--- a/contrib/firebaseio/pom.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
- 4.0.0
-
- com.google.cloud.dataflow
- google-cloud-dataflow-java-contrib-firebaseio
- FirebaseIO
- Unbounded Source, and DoFns to read and write to Firebase from Dataflow
- 0.0.2-SNAPSHOT
-
-
-
- Apache License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
-
-
- UTF-8
- [1.2.0, 1.99)
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.2
-
- 1.7
- 1.7
-
-
-
-
- org.apache.maven.plugins
- maven-checkstyle-plugin
- 2.17
-
-
- com.puppycrawl.tools
- checkstyle
- 6.19
-
-
-
- ../../checkstyle.xml
- ../../suppressions.xml
- true
- true
- true
-
-
-
- validate
-
- check
-
-
-
-
-
-
-
-
-
- com.google.cloud.dataflow
- google-cloud-dataflow-java-sdk-all
- ${google-cloud-dataflow-version}
-
-
-
- com.google.guava
- guava
- 18.0
-
-
-
- com.firebase
- firebase-client-jvm
- 2.4.0
-
-
-
- org.slf4j
- slf4j-api
- 1.7.15
-
-
-
- org.slf4j
- slf4j-simple
- 1.7.15
-
-
-
-
- org.hamcrest
- hamcrest-all
- 1.3
- test
-
-
-
- junit
- junit
- 4.12
- test
-
-
-
-
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/contrib/JacksonCoder.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/contrib/JacksonCoder.java
deleted file mode 100644
index 61a862922d..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/contrib/JacksonCoder.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.contrib;
-
-import static com.google.cloud.dataflow.sdk.util.Structs.addString;
-
-import com.google.cloud.dataflow.sdk.coders.Coder;
-import com.google.cloud.dataflow.sdk.coders.StandardCoder;
-import com.google.cloud.dataflow.sdk.util.CloudObject;
-import com.google.cloud.dataflow.sdk.values.TypeDescriptor;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.core.JsonGenerator;
-import com.fasterxml.jackson.core.JsonParser;
-import com.fasterxml.jackson.databind.DeserializationFeature;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping;
-import com.fasterxml.jackson.databind.ObjectReader;
-import com.fasterxml.jackson.databind.ObjectWriter;
-import com.fasterxml.jackson.databind.SerializationFeature;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Serializable;
-import java.util.Collections;
-import java.util.List;
-
-/**
- * Encodes objects using {@link ObjectReader} and {@link ObjectWriter}.
- */
-public class JacksonCoder extends StandardCoder {
-
- private static final long serialVersionUID = -754345287170755870L;
-
- private static final ObjectMapper MAPPER = new ObjectMapper()
- .enableDefaultTyping(DefaultTyping.NON_FINAL)
- .enable(DeserializationFeature.WRAP_EXCEPTIONS)
- .enable(SerializationFeature.WRAP_EXCEPTIONS)
- .disable(SerializationFeature.FAIL_ON_UNWRAPPED_TYPE_IDENTIFIERS)
- .enable(SerializationFeature.WRITE_NULL_MAP_VALUES)
- .configure(JsonGenerator.Feature.AUTO_CLOSE_TARGET, false)
- .configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, false);
-
- // Threadsafe as per http://wiki.fasterxml.com/JacksonBestPracticesPerformance
- private final ObjectWriter writer;
- private final ObjectReader reader;
-
- protected final Class type;
-
- public static JacksonCoder of(TypeDescriptor type) {
- @SuppressWarnings("unchecked")
- Class clazz = (Class) type.getRawType();
- return of(clazz);
- }
-
- /**
- * JacksonCoder will encode any type that can be serialized/deserialized by Jackson.
- * This can be achieved by using either Jackson annotations (as seen in this library), or
- * implementing @see
- * custom serializers.
- * @param clazz Type to encode
- * @return A JacksonCoder parameterized with type {@code clazz}
- */
- public static JacksonCoder of(Class clazz){
- return new JacksonCoder<>(clazz);
- }
-
- @SuppressWarnings({"unchecked", "rawtypes"})
- @JsonCreator
- public static JacksonCoder> of(
- @JsonProperty("type") String classType) throws ClassNotFoundException {
- return new JacksonCoder(Class.forName(classType));
- }
-
- protected JacksonCoder(Class clazz){
- this.type = clazz;
- writer = MAPPER.writer();
- reader = MAPPER.readerFor(type);
- }
-
- @Override
- public void encode(T value, OutputStream outStream, Context context)
- throws IOException {
- writer.writeValue(outStream, value);
- }
-
- @Override
- public T decode(InputStream inStream, com.google.cloud.dataflow.sdk.coders.Coder.Context context)
- throws IOException {
- return reader.readValue(inStream);
- }
-
- @Override
- public List extends Coder>> getCoderArguments() {
- return Collections.emptyList();
- }
-
- @Override
- public void verifyDeterministic() throws NonDeterministicException{
- throw new Coder.NonDeterministicException(this, "JSON is not a deterministic encoding");
- }
-
- public Class getType(){
- return this.type;
- }
-
- protected Object writeReplace() {
- // When serialized by Java, instances of AvroCoder should be replaced by
- // a SerializedJacksonCoderProxy.
- return new SerializedJacksonCoderProxy<>(type);
- }
-
- @Override
- public CloudObject asCloudObject() {
- CloudObject result = super.asCloudObject();
- addString(result, "type", type.getName());
- return result;
- }
-
- /**
- * Proxy to use in place of serializing the JacksonCoder. This allows the fields
- * to remain final.
- */
- protected static class SerializedJacksonCoderProxy implements Serializable {
- protected final Class type;
-
- public SerializedJacksonCoderProxy(Class type) {
- this.type = type;
- }
-
- private Object readResolve() {
- // When deserialized, instances of this object should be replaced by
- // constructing an JacksonCoder.
- return new JacksonCoder<>(type);
- }
- }
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/contrib/LogElements.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/contrib/LogElements.java
deleted file mode 100644
index 4afe30afbc..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/contrib/LogElements.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.contrib;
-
-import com.google.cloud.dataflow.sdk.transforms.DoFn;
-import com.google.cloud.dataflow.sdk.transforms.PTransform;
-import com.google.cloud.dataflow.sdk.transforms.ParDo;
-import com.google.cloud.dataflow.sdk.values.PCollection;
-import com.google.cloud.dataflow.sdk.values.PDone;
-
-import org.slf4j.event.Level;
-import org.slf4j.event.LoggingEvent;
-import org.slf4j.event.SubstituteLoggingEvent;
-import org.slf4j.impl.SimpleLogger;
-import org.slf4j.impl.SimpleLoggerFactory;
-
-/**
- * Logs a {@link PCollection} to a logger for the specified {@link Class}.
- */
-public class LogElements extends PTransform, PDone> {
-
- private final Level level;
- private final String className;
-
- public LogElements(Class> clazz, Level level){
- this.className = clazz.getName();
- this.level = level;
- }
-
- @Override
- public PDone apply(PCollection input){
- input.apply(ParDo.of(new LoggingDoFn(this.className, this.level)));
- return PDone.in(input.getPipeline());
- }
-
- /**
- * Given a PCollection of {@link LoggingEvent}s, log them to a simple logger (uses System.err).
- */
- public static class LoggingDoFn extends DoFn{
-
- private final String className;
- private final Level level;
- private transient SimpleLogger logger;
-
- public LoggingDoFn(String className, Level level){
- this.className = className;
- this.level = level;
- }
-
- @Override
- public void startBundle(Context c) throws Exception {
- logger = (SimpleLogger) new SimpleLoggerFactory().getLogger(this.className);
- }
-
- @Override
- public void processElement(DoFn.ProcessContext c) throws Exception {
- SubstituteLoggingEvent event = new SubstituteLoggingEvent();
- event.setMessage(c.element().toString());
- event.setLevel(this.level);
- logger.log(event);
- }
- }
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildAdded.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildAdded.java
deleted file mode 100644
index a880126108..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildAdded.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.google.cloud.dataflow.contrib.firebase.io.FirebaseSource;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.firebase.client.ChildEventListener;
-import com.firebase.client.DataSnapshot;
-
-
-/**
- * Created by {@link ChildEventListener#onChildRemoved } triggered in {@link FirebaseSource}.
- * @param type that {@link DataSnapshot} is parsed as.
- */
-public class ChildAdded extends FirebaseChildEvent {
-
- @JsonCreator
- public ChildAdded(
- @JsonProperty("key") String key,
- @JsonProperty("data") T data,
- @JsonProperty("previousChildName") String previousChildName) {
- super(key, data, previousChildName);
- }
-
- public ChildAdded(DataSnapshot snapshot, String previousChildName){
- super(snapshot, previousChildName);
- }
-
-
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildChanged.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildChanged.java
deleted file mode 100644
index c152639bd0..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildChanged.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.google.cloud.dataflow.contrib.firebase.io.FirebaseSource;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.firebase.client.ChildEventListener;
-import com.firebase.client.DataSnapshot;
-
-/**
- * Created by {@link ChildEventListener#onChildRemoved } triggered in {@link FirebaseSource}.
- * @param
- */
-public class ChildChanged extends FirebaseChildEvent {
-
- @JsonCreator
- public ChildChanged(
- @JsonProperty("key") String key,
- @JsonProperty("data") T data,
- @JsonProperty("previousChildName") String previousChildName) {
- super(key, data, previousChildName);
- }
-
- public ChildChanged(DataSnapshot snapshot, String previousChildName){
- super(snapshot, previousChildName);
- }
-
-
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildMoved.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildMoved.java
deleted file mode 100644
index c0193f76fa..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildMoved.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.firebase.client.DataSnapshot;
-
-/**
- * TODO: Insert description here. (generated by elibixby)
- * @param type that {@link DataSnapshot} is parsed as.
- */
-public class ChildMoved extends FirebaseChildEvent {
-
- @JsonCreator
- public ChildMoved(
- @JsonProperty("key") String key,
- @JsonProperty("data") T data,
- @JsonProperty("previousChildName") String previousChildName) {
- super(key, data, previousChildName);
- }
-
- public ChildMoved(DataSnapshot snapshot, String previousChildName){
- super(snapshot, previousChildName);
- }
-
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildRemoved.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildRemoved.java
deleted file mode 100644
index 97e1e38204..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ChildRemoved.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.google.cloud.dataflow.contrib.firebase.io.FirebaseSource;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.firebase.client.ChildEventListener;
-import com.firebase.client.DataSnapshot;
-
-/**
- * Created by {@link ChildEventListener#onChildRemoved } triggered in {@link FirebaseSource}.
- * @param type that {@link DataSnapshot} is parsed as.
- */
-public class ChildRemoved extends FirebaseEvent {
-
- @JsonCreator
- public ChildRemoved(
- @JsonProperty("key") String key,
- @JsonProperty("data") T data) {
- super(key, data);
- }
-
- public ChildRemoved(DataSnapshot snapshot){
- super(snapshot);
- }
-
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/FirebaseChildEvent.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/FirebaseChildEvent.java
deleted file mode 100644
index e985478553..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/FirebaseChildEvent.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.firebase.client.DataSnapshot;
-
-import java.util.Objects;
-
-/**
- * TODO: Super class for events which come with a {@code previousChildName}.
- * @param type that {@link DataSnapshot} is parsed as.
- */
-public class FirebaseChildEvent extends FirebaseEvent {
-
- public final String previousChildName;
-
- protected FirebaseChildEvent(String key, T data, String previousChildName) {
- super(key, data);
- this.previousChildName = previousChildName;
- }
-
- protected FirebaseChildEvent(DataSnapshot snapshot, String previousChildName) {
- super(snapshot);
- this.previousChildName = previousChildName;
- }
-
- @Override
- public int hashCode(){
- return Objects.hash(previousChildName, super.hashCode());
- }
-
- @Override
- public boolean equals(Object e){
- if (this.getClass().isInstance(e)){
- FirebaseChildEvent> other = (FirebaseChildEvent>) e;
- return Objects.equals(this.previousChildName, other.previousChildName) && super.equals(e);
- }
- return false;
- }
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/FirebaseEvent.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/FirebaseEvent.java
deleted file mode 100644
index 276252cd2d..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/FirebaseEvent.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.fasterxml.jackson.core.JsonProcessingException;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping;
-import com.fasterxml.jackson.databind.SerializationFeature;
-
-import com.firebase.client.DataSnapshot;
-import com.firebase.client.GenericTypeIndicator;
-
-import java.util.Objects;
-
-/**
- * Supertype for all {@link FirebaseEvent}s.
- * @param type that {@link DataSnapshot} is parsed as.
-**/
-public class FirebaseEvent{
-
- private static ObjectMapper mapper = new ObjectMapper()
- .enableDefaultTyping(DefaultTyping.NON_FINAL)
- .enable(SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS);
-
- public final String key;
- public final T data;
-
- protected FirebaseEvent(String key, T data){
- this.key = key;
- this.data = data;
- }
-
- protected FirebaseEvent(DataSnapshot snapshot){
- this(snapshot.getKey(), snapshot.getValue(new GenericTypeIndicator(){}));
- }
-
- @Override
- public int hashCode(){
- return Objects.hash(key, data);
- }
-
- /**
- * Does a deep equality check by delegating to {@code T.equals()}.
- */
- @Override
- public boolean equals(Object e){
- if (this.getClass().isInstance(e)){
- FirebaseEvent> other = (FirebaseEvent>) e;
- return Objects.equals(this.key, other.key) && Objects.equals(this.data, other.data);
- }
- return false;
- }
-
- @Override
- public String toString(){
- try {
- return mapper.writeValueAsString(this);
- } catch (JsonProcessingException e) {
- return e.toString();
- }
- }
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ValueChanged.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ValueChanged.java
deleted file mode 100644
index 3c29a96c7e..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/events/ValueChanged.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.events;
-
-import com.google.cloud.dataflow.contrib.firebase.io.FirebaseSource;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.firebase.client.DataSnapshot;
-import com.firebase.client.ValueEventListener;
-
-
-
-/**
- * Created by {@link ValueEventListener#onDataChange } triggered in {@link FirebaseSource}.
- * @param type that {@link DataSnapshot} is parsed as.
- */
-public class ValueChanged extends FirebaseEvent {
-
- @JsonCreator
- public ValueChanged(
- @JsonProperty("key") String key,
- @JsonProperty("data") T data) {
- super(key, data);
- }
-
- public ValueChanged(DataSnapshot snapshot){
- super(snapshot);
- }
-
-}
diff --git a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/io/DoFirebasePush.java b/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/io/DoFirebasePush.java
deleted file mode 100644
index 52e0bf5b63..0000000000
--- a/contrib/firebaseio/src/main/java/com/google/cloud/dataflow/contrib/firebase/io/DoFirebasePush.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Copyright (c) 2015 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may
- * not use this file except in compliance with the License. You may obtain
- * a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.google.cloud.dataflow.contrib.firebase.io;
-
-import com.google.cloud.dataflow.contrib.firebase.utils.FirebaseAuthenticator;
-import com.google.cloud.dataflow.sdk.transforms.DoFn;
-import com.google.cloud.dataflow.sdk.values.KV;
-
-import com.firebase.client.Firebase;
-
-
-
-/**
- * Creates a unique String ID using {@link Firebase#push()} and outputs an
- * {@link com.google.cloud.dataflow.sdk.values.KV} with the String as a key.
- */
-public class DoFirebasePush extends FirebaseDoFn