简体   繁体   English

使用 Apache Beam 作为依赖

[英]Use Apache Beam as dependency

I'm trying to use Apache Beam either as Maven or Gradle dependency.我正在尝试使用 Apache Beam 作为 Maven 或 Gradle 依赖项。 As I know the project is incubating as intended to be a evolved version of Google Dataflow SDK.据我所知,该项目正在孵化,旨在成为 Google Dataflow SDK 的进化版本。

So, I might be making a wrong assumption: as I haven't found across the initial documentation from Apache Beam's project, how could I use their Java sdk version as a Gradle or Maven dependency on my project?所以,我可能做出了错误的假设:因为我没有在 Apache Beam 项目的初始文档中找到,我怎么能使用他们的 Java sdk 版本作为我项目的 Gradle 或 Maven 依赖项? I haven't found what is the exactly artifactid, groupid to add.我还没有找到要添加的究竟是什么 artifactid, groupid。 Anyone here already used it?这里有人已经用过了吗?

Apache Beam hasn't released its first version yet, so its binaries aren't available in the Maven Central Repository just yet. Apache Beam 还没有发布它的第一个版本,所以它的二进制文件还没有在 Maven 中央存储库中可用。

The first release, 0.1.0-incubating , has just been started yesterday and should be released shortly.第一个版本0.1.0-incubating昨天刚刚开始,应该很快就会发布。 At that point, Apache Beam binaries will be available in the Maven Central Repository and will be searchable here .届时,Apache Beam 二进制文件将在 Maven 中央存储库中可用,并可在此处搜索。

In addition, Apache Beam publishes nightly builds to Apache Software Foundation's snapshot repository .此外,Apache Beam 每晚都会将构建发布到 Apache Software Foundation 的快照存储库 You can also choose to take a dependency on those artifacts from build tools like Maven.您还可以选择依赖于来自 Maven 等构建工具的这些工件。

I think the question is little outdated.我认为这个问题有点过时了。 But still for beginners you can easily find the Apache Beam Java Dependency sdk for all the build tools like maven, Gradle etc. The link is given below.但是对于初学者来说,您仍然可以轻松找到适用于所有构建工具(如 maven、Gradle 等)的 Apache Beam Java Dependency sdk。链接如下。

Find it Here 在这里找到

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM