mrkeyoor.comAsk

apache/flinktested 02 Oct 2026commit b3b98e3

flink review

The measured Python installation and build passed, but the test command failed.

  • Install 63 s
  • Build 6 s
23/121passed, run exited non-zero
  • 35 packages
Dataevaluationupdated 31 Oct 2026
+6stars / 7d

Apache Flink is an open source framework for processing streams and batches. Its README documents Java APIs, event-time and out-of-order processing, windowing and fault tolerance. The measured Python project lives in flink-python/.

Verdict

The measured Python installation and build passed, but the test command failed. Evaluate Flink when its documented event-time windows and out-of-order processing address a specific application need. Before adoption, reproduce the Python checks in a documented environment and verify a complete job with your selected input, output and late-event rule. This run establishes neither deployment readiness nor the cause of the test errors.

We ran it

Lab card: what happened when we ran flink
Lab card from our sandbox run
Screenshot of flink (flink.apache.org)
flink.apache.org
Install✓ · 63s35 packages · 37 MB
Build✓ · 6s
Tests✗ · 6s23 passed · 1 failed · 97 errors of 121 (pytest)
Known vulns0(pip-audit)
Repo24911 files~2,560,847 lines of source · 184.1 MB · 10 CI workflows

Answers from our run

Does flink build from source?

Dependencies installed in 63 seconds (35 packages), and the build succeeded in 6 seconds. We cloned commit b3b98e3 into a clean Debian container with 3 CPUs and no project-specific setup.

Do flink's tests pass?

No. The project's own test command finished in 6 seconds and reported 23 passed, 1 failed, 97 collection errors (pytest).

Does flink have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use flink?

Developers seeking a Python-only source-build environment: the main README requires Java and Maven tooling.

What are the alternatives to flink?

Apache Spark, Apache Beam. The measured Python installation and build passed, but the test command failed.

Setup3/5Our source checkout installed in 63 s and built in 6 s, a heavy install of 35 dependencies, and we did not run a README task.Editor’s note: Python installation, build and test outcomes were measured, but a supported full-engine setup and working deployed job were not verified.
Docs4/5The README has an install section (“Building Apache Flink from Source”) and a usage section (“Streaming Example”); we did not run its quickstart ourselves.Editor’s note: The supplied README establishes documented requirements and capabilities; instruction accuracy and the full documentation were not tested.
Community5/5Last push on 2026-10-31 and 26,473 stars.Editor’s note: Repository activity was supplied, but support responsiveness and maintainer capacity were not assessed.
Maturity2/5No tagged GitHub release, repository created 2014-06-07 and its test suite did not pass in our sandbox (23 of 121 passed).Editor’s note: The Python test command failed, and the supplied run did not evaluate distributed recovery or production operation.

How we score

Discussed on

  1. hnIntroducing Complex Event Processing (CEP) with Apache Flink150 points
  2. hnApache Flink115 points
  3. hnAnnouncing Apache Flink 1.0.0102 points
  4. hnDrivetribe’s Modern Take on CQRS with Apache Flink83 points
  5. hnDiscovering Anomalies in Real-Time with Apache Flink81 points

Who it’s for

Data teams evaluating event-time windows or out-of-order processing.
Python developers prepared to evaluate the Python project alongside the engine's source-build requirements.
Operators willing to review connectors maintained in separate repositories.

Who it’s NOT for

Developers seeking a Python-only source-build environment: the main README requires Java and Maven tooling.
Teams requiring a passing Python test check before proceeding: our recorded command failed with one failure and 97 collection/setup errors.
Teams expecting all connectors in the main checkout: the README says most connectors have separate repositories.

Setup reality

Our October 2, 2026 run at commit b3b98e3 installed the Python project in 63 seconds, recording 35 dependencies and 37 MB on disk. The build passed in 6 seconds. Tests exited 1 in 6 seconds: 23 passed, one failed and 97 collection/setup errors out of the recorded 121.

The run covered flink-python/, not a verified distributed deployment. The separately supplied README lists a Unix-like environment, Git, unzip, Maven 3.9.16 and Java 11, 17 or 21 for building the main source tree. Those README requirements were not verified against the measured commit.

The configured sandbox had 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. Actual runtime versions require raw toolchain logs. The visible failure names a deprecated-API import-warning check and an assertion of 0 != 1, without establishing the cause.

Pip-audit recorded zero known vulnerabilities, but its packages field was also zero. The supplied record does not establish successful dependency coverage.

A successful Python build leaves the streaming decision open

Apache Flink's Python project installed and built in our sandbox, but its test command failed. For a Python team considering Flink, that result leaves two tasks: reproduce the failing checks and evaluate an actual streaming job.

The Flink README describes a runtime for both batch and streaming programs, with Java APIs and support for event-time and out-of-order processing. Our run covered flink-python/. It did not verify the main source build or a distributed deployment.

What happened when we ran it

Our sandbox installed Flink's Python project in 63 seconds and completed the recorded build step in 6 seconds. The October 2, 2026 run used commit b3b98e3, recorded 35 dependencies and measured 37 MB on disk. These timings cover the selected Python project, not compilation of every Apache Flink component.

The test step exited 1 after 6 seconds. Pytest reported 23 passed, one failed and 97 collection/setup errors out of the recorded 121. Its own summary reports 1.27 seconds and eight passing subtests. The outer step duration and pytest duration cover different scopes.

The named failure was DeprecatedTests::test_importing_pyflink_table_does_not_warn. Its assertion reads 0 != 1, followed by the start of a traceback. The supplied tail does not show the underlying cause. Error entries name table schema, types, UDAF, UDF, UDTF and window modules, plus pyflink/testing/test_case_utils.py. These paths identify affected checks; they do not establish a missing dependency, unsupported interpreter or broken Flink feature.

The sandbox configuration recorded 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. The image label does not establish the actual Python or operating-system version. Raw toolchain logs are needed before diagnosing compatibility.

Pip-audit recorded zero known vulnerabilities, but its packages field was also zero. The supplied record does not establish successful dependency coverage. The scan also recorded ten CI workflow files, no Dockerfile and no tests directory. Because the pytest output names nested test modules, the directory result is a limited scan observation, not evidence that Flink lacks tests. These signals do not establish production security.

Turn event-time requirements into an evaluation task

The README lists event-time and out-of-order processing in the DataStream API. Windowing includes time, count and sessions, with custom triggers. These documented capabilities give teams with delayed records a specific reason to evaluate Flink.

Write down which reporting window should receive a delayed record and when the application should consider a result final. Use those requirements to define a trial with one input and one output. Our sandbox did not exercise that workload.

The README also lists exactly-once processing guarantees and natural back-pressure. Those are documented capabilities, not outcomes demonstrated by this run. The supplied measurements contain no throughput result, recovery experiment or verification of an external destination. Check the complete application path before relying on those properties for adoption.

Source tooling and connectors need separate review

The supplied README lists a Unix-like environment, Git, unzip, Maven 3.9.16 and Java 11, 17 or 21 as source-build prerequisites. It describes Maven wrapper commands, JDK-specific profiles and the JAVA_HOME setting. Its example build commands skip tests.

These are requirements from the separately supplied README, not verified requirements for commit b3b98e3. The measured Python build does not establish that the main source-build instructions work. A Python contributor should check the instructions corresponding to the checkout before attempting that route.

Most connectors have moved to separate repositories, according to the README. Kafka and JDBC are among the listed examples. Choose the connector alongside the engine and review its own compatibility guidance; the supplied evidence does not verify a particular connector and engine combination.

The README's socket example uses a host and port, while its batch example reads a file path. Neither supplies configuration for your database or message service. Define the required services, credentials and connector settings as part of the application trial.

Compare interfaces and execution models

Apache Spark describes an analytics engine with SQL, DataFrames and Structured Streaming. Evaluate it when those interfaces match your workload or existing team practice. The supplied evidence contains no comparative timing or operating-cost measurement.

Apache Beam provides SDKs for defining batch and streaming pipelines and runners for executing them on distributed backends. Its FlinkRunner runs pipelines on an Apache Flink cluster. Consider Beam when separating pipeline definitions from the execution backend matters; selecting its Flink runner leaves the Flink deployment decision in place.

The next useful step is a documented reproduction of the Python checks, followed by a job that verifies your selected input, output and late-event rule. Record those results separately from this package-level run.

Alternatives

ProjectWhat it isPick it when
Apache Spark gh↗An analytics engine with SQL, DataFrames and Structured Streaming.Evaluate Spark when its SQL and DataFrame interfaces match your workload or an existing Spark workflow.
Apache BeamSDKs and runners for defining and executing batch and streaming pipelines.Evaluate Beam when separating pipeline definitions from the execution backend matters. Its Flink runner still requires a Flink cluster.

Sources

  1. Apache Flink README
  2. Apache Flink repository facts
  3. Apache Flink recent activity
  4. Apache Spark README
  5. Apache Beam README

More data reviews