All Projects → flyteorg → flytekit-java

flyteorg / flytekit-java

Licence: Apache-2.0 license
Java/Scala library for easily authoring Flyte tasks and workflows

Programming Languages

java
68154 projects - #9 most used programming language
scala
5932 projects

Labels

Projects that are alternatives of or similar to flytekit-java

datacatalog
Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. It also powers Flytes memoization system
Stars: ✭ 52 (+116.67%)
Mutual labels:  flyte
flytestdlib
A apache commons style library in Golang, use by the Flyte project. Contains utilities for metrics, pflags, config management, storage abstraction, caching etc
Stars: ✭ 59 (+145.83%)
Mutual labels:  flyte
flyteidl
Specification of the IR for Flyte workflows and tasks. Also Interfaces for all backend services. https://docs.flyte.org/projects/flyteidl/en/stable/
Stars: ✭ 27 (+12.5%)
Mutual labels:  flyte
flytesnacks
Flyte User-Guides and Tutorials - https://flytecookbook.readthedocs.io
Stars: ✭ 39 (+62.5%)
Mutual labels:  flyte
flytectl
A cross platform CLI for Flyte. Written in Golang. Offers an intuitive interface to Flyte https://docs.flyte.org/projects/flytectl/en/latest/
Stars: ✭ 23 (-4.17%)
Mutual labels:  flyte
flytekit
Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.
Stars: ✭ 82 (+241.67%)
Mutual labels:  flyte

flytekit-java

Lifecycle

Java/Scala library for easily authoring Flyte tasks and workflows.

Current development status:

  • MVP features are developed
  • Missing user documentation
  • Project being tested, and collecting feedback
  • No guarantees of API stability

To learn more about Flyte refer to:

Build from source

It requires Java 11 and Docker

mvn clean verify

# Inspect dependency tree
mvn dependency:tree

# Inspect tooling dependency tree
mvn dependency:resolve-plugins

How to run examples

You can build und run examples yourself.

Create .env.local with:

FLYTE_PLATFORM_URL=flyte.local:81
FLYTE_STAGING_LOCATION=gs://yourbucket
FLYTE_PLATFORM_INSECURE=True

Package and run:

$ mvn package
$ scripts/jflyte register workflows \
  -d=development \
  -p=flytesnacks \
  -v=$(git describe --always) \
  -cp=flytekit-examples/target/lib

Note: scripts/jflyte requires jq to run, in adition to docker

Usage

Maven

<dependency>
    <groupId>org.flyte</groupId>
    <artifactId>flytekit-java</artifactId>
    <version>0.3.15</version>
</dependency>

SBT

Scala 2.12 and Scala 2.13 are supported.

libraryDependencies ++= Seq(
  "org.flyte" % "flytekit-java" % "0.3.15",
  "org.flyte" %% "flytekit-scala" % "0.3.15"
)

Contributing

Run mvn spotless:apply before committing.

Also use git commit --signoff "Commit message" to comply with DCO.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].