r/apacheflink • • Oct 19 '26

Flink Manager - web console for managing Apache Flink clusters

Post image
3 Upvotes

Hey everyone,

Long-time Flink users here. We got tired of operating our clusters through raw REST calls, SSH-ing into TaskManagers to read logs, and having no answer to "who stopped that job yesterday?" — so we built Flink Manager, and we just released the first public version (0.0.1).

What it does (with a live Flink 2.x cluster behind it):

  • Jobs — run/stop/restart with savepoint support, status, vertices, execution graphs, and confirmation dialogs before anything touches the cluster

  • TaskManagers — slots, hardware, memory config, and log files readable in the browser (no SSH)

  • SQL workbench — backed by the Flink SQL Gateway: sessions, catalog explorer, saved queries, and every INSERT becomes a traceable Flink job linked back to its statement

  • JAR management — upload, inspect, and preview the execution plan before submitting (tasks, operators, shuffles — drawn)

  • Metrics — built-in schedulers poll the REST API and JMX/Prometheus reporters, store history in PostgreSQL, and a metric dictionary with warning/critical thresholds drives health widgets

  • Governance — RBAC (admin/operator/developer/viewer), local + LDAP + OIDC auth, and an append-only audit trail with CSV export. Job/JAR/SQL history is kept beyond Flink's own retention

  • Notifications — persistent, for job and system events

Deployment: Docker image (vinteroslabs/flink-manager:0.0.1) or a zip bundle with systemd unit. Needs PostgreSQL (schema auto-migrates on start) and Java 22+ for the bundle. There's also an in-memory profile for a 5-minute test without a database.

Full transparency: this is a commercial product (we're a small company, Vinteros Labs, based in Luxembourg) — it's not open source. There's a free trial licence issued instantly on the website, no sales call required.

The docs repo (installation, configuration reference) is also on GitHub: https://github.com/vinteroslabs/flink-manager-doc — issues welcome there.

Happy to answer questions about how it works under the hood (it proxies and enriches the Flink REST API), the savepoint handling, or anything else. If you operate Flink clusters, tell us what's missing — this first version won't be the last.


r/apacheflink • • Jul 09 '25

Announcing Factor House Local v2.0: A Unified & Persistent Data Platform!

Post image
1 Upvotes

We're excited to launch a major update to our local development suite. While retaining our powerful Apache Kafka and Apache Pinot environments for real-time processing and analytics, this release introduces our biggest enhancement yet: a new Unified Analytics Platform.

Key Highlights:

  • 🚀 Unified Analytics Platform: We've merged our Flink (streaming) and Spark (batch) environments. Develop end-to-end pipelines on a single Apache Iceberg lakehouse, simplifying management and eliminating data silos.

  • 🧠 Centralized Catalog with Hive Metastore: The new system of record for the platform. It saves not just your tables, but your analytical logic—permanent SQL views and custom functions (UDFs)—making them instantly reusable across all Flink and Spark jobs.

  • 💾 Enhanced Flink Reliability: Flink checkpoints and savepoints are now persisted directly to MinIO (S3-compatible storage), ensuring robust state management and reliable recovery for your streaming applications.

  • 🌊 CDC-Ready Database: The included PostgreSQL instance is pre-configured for Change Data Capture (CDC), allowing you to easily prototype real-time data synchronization from an operational database to your lakehouse.

This update provides a more powerful, streamlined, and stateful local development experience across the entire data lifecycle.

Ready to dive in?


r/apacheflink • • Jan 20 '26

Flink Deployment Survey

2 Upvotes

I asked a small group of Apache Flink practitioners about their production deployments. Here are some results:

- Flink Kubernetes Operator is clearly the most popular option (expected)

- AWS Managed Flink is in the second place (somewhat unexpected)

- Self-managed Kubernetes deployment (without the operator) is the third most popular option


r/apacheflink • • Aug 15 '26

Streaming For The AI Age (StreamFusion)

Thumbnail streamfusion.tech
2 Upvotes

Hi all! I'd greatly appreciate any feedback on my first blog post about StreamFusion!


r/apacheflink • • Oct 10 '23

Stream Processing: Is SQL Good Enough?

Thumbnail
risingwave.com
0 Upvotes

r/apacheflink • • Dec 20 '23

One Big Table (OBT) vs Star Schema

Thumbnail
open.substack.com
0 Upvotes

r/apacheflink • • Jun 21 '24

Delta Writer

0 Upvotes

can someone give me an example of Apache Flink Delta Writer?


r/apacheflink • • Sep 24 '21

Pulsar Summit

0 Upvotes

Pulsar Summit Europe 2021 is taking place virtually on October 6. Sessions include industry experts from Apache Pulsar PMC, CleverCloud, and Databricks. You’ll learn about the latest Pulsar project updates, technology. Register today and save your seat:

https://pulsar-summit.org/en/event/europe-2021/


r/apacheflink • • Sep 16 '21

Data Streaming Developer for Flink

0 Upvotes

Hi Flink folks! :)
In case you speak German (or translate happily) - what do you think of this little fun quiz?


r/apacheflink • • Oct 06 '26

🎉 Introducing FlinkReactor Platform: A web console, a DSL that compiles into Flink SQL, and CLI to manage everything locally

Post image
5 Upvotes

It's almost here. The FlinkReactor website is finally live, and the platform and docs ship very soon. I was supposed to ship it back in April, if you can believe it.

FlinkReactor Platform is for teams already running Apache Flink. Your pipelines are only part of the job.

The Console (FlinkReactor Hub)

A modern and built from the ground up advanced console to manage your jobs, view logs & checkpoints, investigate back pressure, plan analyzers, and much more.

The console also comes with "Instruments" which you can think of as mini apps for interacting and viewing data from sources and sinks your Flink pipelines interact with. You no longer have to jump between several apps and cli commands just to view Kafka messages, query tables, or inspect your lakehouse.

The DSL

This is an ambitious component of the platform. Essentially, the DSL component allows developers to construct their pipelines using custom-made TypeScript React components that can share schemas, and configurations.

But why? For several reasons, top of which are:

  • Reusability: Schemas are defined once and shared across multiple pipelines.

  • Configurable: Pipelines share a common configuration file that is typesafe.

  • Generation & Deterministic Output,: A single TypeScript pipeline produces both of the Flink SQL and the Kubernetes CRD files.

The CLI

Your one stop CLI to create, and manage your Flink projects and pipelines. It comes with several commands including creating projects, setting up your local cluster with all the required services such as Kafka, PostgreSQL, ClickHouse, Fluss, and of course Flink.

Check the homepage and tell me what you think. If you want to try Hub or the DSL ahead of launch, reach out. I'm more than happy to jump on a call and walk you through it.

https://flinkreactor.dev/


r/apacheflink • • Dec 12 '25

Flink Materialized Tables Resources

Thumbnail reddit.com
1 Upvotes

r/apacheflink • • Oct 16 '23

Nominated for a Grammy - Flink Poyd

0 Upvotes

They have been putting out HIT after HIT (solution) for years....

Introducing the legendary rock band, "Flink Poyd" – where the hard-hitting rhythms of #Kafka, the slick note changes of #Debezium, the fast rifts of #Flink, and the powerful user-facing vocals of #Pinot come together to create a symphony of real-time data that will have you head-banging through the analytics world!


r/apacheflink • • Jul 07 '24

First record

1 Upvotes

Using Table API, simply put what’s the best way to get the first record from a kafka stream? For example, I have game table- I have gamer_id and first visit timestamp that I need to send to a MySQL sink. I thought of using FIRST_VALUE but won’t this mean too much computations? Since it’s streaming, anything after the first timestamp for a gamer is pretty useless. Any ideas on how I can solve this?


r/apacheflink • • Mar 31 '21

Flink Jar does not work

1 Upvotes

Hey guys,

I wanted to create a flink job with java, which connects to a kafka and reads (or writes) messages.When I do this with my IDE (intellij) it works fine, but when i build the jar file with "mvn package" and deploy the jar file to a taskmanager, it just sits there and waits for a timeout.

It kinda looks like it cannot connect to the kafka. The kafka for now just runs localy (simple start like https://kafka.apache.org/quickstart)

Do I build the jar in a wrong way or what am i missing?

EDIT: It gets even worse, when i try to run kafka inside a docker. Now nothing can connect anymore.

EDIT 2: I kinda got it working now. I am using the wurstmeister kafka docker image to run kafka (and zookeeper). And it looks like my flink job can connect to that and read and write. It doesn't work inside a flink docker tho.

BUT if i use the offial kafka (not docker) version and run that, it doesn't work. Also if I use the (small) kafka from debezium it also does not work (there might be a problem with topics tho).


r/apacheflink • • Jul 13 '25

Flink vs Fluss

1 Upvotes

Hi all, What is difference between flink and fluss. Why fluss is introduced?


r/apacheflink • • Jan 27 '26

Using MCP to bridge AI assistants and Apache Flink clusters

1 Upvotes

I’ve been exploring how Model Context Protocol (MCP) can be used beyond toy demos, and tried applying it to Apache Flink.

This project exposes Flink’s REST endpoints as MCP tools, so an AI assistant can:

  • Inspect cluster health

  • List and analyze jobs

  • Fetch job exceptions and metrics

  • Check TaskManager resource usage

The goal isn’t automation (yet), but observability and debugging through a conversational interface.

It’s Python-based, uses streamable-http transport, and is compatible with MCP clients like Continue.

Repo:
https://github.com/Ashfaqbs/apache-flink-mcp-server

Curious whether others are experimenting with MCP or similar approaches for ops / monitoring.


r/apacheflink • • Jul 11 '23

The Preview of Stream Processing Performance Report: Apache Flink and RisingWave Comparison

Thumbnail
risingwave.com
2 Upvotes

r/apacheflink • • Mar 19 '24

TypeError

Post image
0 Upvotes

TypeError: Could not found the Java class 'org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer'. The Java dependencies could be specified via command Line argument-jarfile or the config option 'pipeline.jars

How can I fix this error? And where can I find jarfile?

Thank for the help.


r/apacheflink • • Jul 01 '26

FlareDB: Apache Beam native streaming database built in Rust.

Thumbnail
github.com
2 Upvotes

r/apacheflink • • Jun 09 '25

🚀 The journey continues! Part 4 of my "Getting Started with Real-Time Streaming in Kotlin" series is here:

Post image
3 Upvotes

"Flink DataStream API - Scalable Event Processing for Supplier Stats"!

Having explored the lightweight power of Kafka Streams, we now level up to a full-fledged distributed processing engine: Apache Flink. This post dives into the foundational DataStream API, showcasing its power for stateful, event-driven applications.

In this deep dive, you'll learn how to:

  • Implement sophisticated event-time processing with Flink's native Watermarks.

  • Gracefully handle late-arriving data using Flink’s elegant Side Outputs feature.

  • Perform stateful aggregations with custom AggregateFunction and WindowFunction.

  • Consume Avro records and sink aggregated results back to Kafka.

  • Visualize the entire pipeline, from source to sink, using Kpow and Factor House Local.

This is post 4 of 5, demonstrating the control and performance you get with Flink's core API. If you're ready to move beyond the basics of stream processing, this one's for you!

Read the full article here: https://jaehyeon.me/blog/2025-06-10-kotlin-getting-started-flink-datastream/

In the final post, we'll see how Flink's Table API offers a much more declarative way to achieve the same result. Your feedback is always appreciated!

🔗 Catch up on the series:

  1. Kafka Clients with JSON

  2. Kafka Clients with Avro

  3. Kafka Streams for Supplier Stats


r/apacheflink • • Oct 09 '25

Iceberg Checkpoint Latency too Long

4 Upvotes

My checkpoint commits are taking too long ~10-15s causing too much back pressure. We are using the iceberg sink with Hive catalog and s3 backed iceberg tables.

Configs:

  • 10cpu cores handling 10 subtasks

  • 20gigs ram

  • asynchronous checkpoints with file system storage (tried job heap as well)

  • 30 seconds checkpoint intervals

  • 4gb throughput per checkpoint (few hundred GenericRowData Rows)

  • Writing Parquets 256mb target size

  • Snappy compression codec

  • 30 s3 thread max and played with write size

I’m at a loss of what’s causing a big freeze during the checkpoints! Any advice on configurations I could try would be greatly appreciated!


r/apacheflink • • Aug 29 '24

How to stop flink consumer and producer gracefully in python?

4 Upvotes

I have implemented a Kafka consumer using PyFlink to read data from a topic. However, the consumer continues to run indefinitely and does not stop or time out unless I manually terminate the Python session. Could you assist me with resolving this issue?

I'm using the KafkaSource from pyflink.datastream.connectors.kafka to build the consumer. Additionally, I tried setting session.timeout.ms as a property, but it hasn't resolved the problem.


r/apacheflink • • Jun 07 '21

Swim & Flink for Stateful Stream Processing

4 Upvotes

I had a go at comparing (Apache 2.0 licensed) Swim and Apache Flink and I think Swim is the perfect complement to the Flink Agent abstraction. I hope this is useful

Like Flink, Swim is a distributed processing platform for stateful computation on event streams. Both run distributed applications on clustered resources, and perform computation in-memory.  Swim applications are active in-memory graphs in which each vertex is a stateful actor. The graphs are built on-the-fly from streaming data based on dynamically discovered relationships between data sources, enabling them to spot correlations in space or time, and accurately learn and predict based on context.

The largest Swim implementation that I’m aware of analyzes and learns from 4PB of streaming data per day, with insights delivered within 10ms. I’ve seen Flink enthusiasts with big numbers too.

The types of applications that can be built with and executed by any stream processing platform are limited by how well the platform manages streams, computational state, and time.  We also need to consider the computational richness the platform supports - the kinds of transformations that you can do - and the contextual awareness during analysis, which dramatically affects performance for some kinds of computation.  Finally, since we are essentially setting up a data processing pipeline, we need to understand how easy it is to create and run an application.

Both Swim and Flink support analysis of

  • Bounded and unbounded streams: Streams can be fixed-sized or endless. 

  • Real-time and recorded streams: There are two ways to process data – “on-the-fly” or “store then analyze”.  Both platforms can deal with both scenarios.  Swim can replay stored streams, but we recognize that doing so affects meaning (what does the event time mean for a recorded stream?) and accessing storage (to acquire the stream to replay) is always desperately slow.     
    Swim does not store data before analysis – computation is done in-memory as soon as data is received.  Swim also has no view on the storage of raw data after analysis: By default Swim discards raw data once it has been analyzed and transformed into an in-memory stateful representation. But you can keep it if you want to - after analysis, learning and prediction.  Swim supports a stream per source of data - this might be a topic in the broker world - and billions of streams are quite manageable.  Swim does not need a broker but can happily consume events from a broker,  whereas Flink does not support this.

Every useful streaming application is stateful. (Only applications that apply simple transformations to events do not require state - the “streaming transfer and load” category for example.) Every application that runs business logic needs to remember intermediate results to access them in later computations.  The key difference between Swim and Flink relates to what state is available to any computation.  

In Flink the context in which each event and previous state retained between events is interpreted is related to the event (and its type) only.  An event is interpreted using a stateful function (and the output is a transformation of the sequence of events).  A good example would be a counter or even computing an average value over a series of events.  Each new event triggers computation that relies only on the results of computation on previous events.  

Swim recognizes that real-world relatedness of things such as containment, proximity and adjacency are key: Joint state changes are critical for deep insights, not just individual changes of independent “things”.   Moreover, real-world relationships between data sources are fluid, and based on continuously changing relationships the application should respond differently.  The dynamic nature of relationships suggests a graph structure to track relationships.  But the graph itself needs to be fluid and computation must occur “in the graph”.

In Swim each event is processed by a stateful actor (a Web Agent) specific to the event source (a smart “digital twin”) that is itself linked to other Agents as a vertex in a fluid in-memory graph of relationships between data sources. These links between Web Agents represent relationships, and are continuously and dynamically created and broken by the application based on context.  A Web Agent can compute at any time on new data, previous state, and the states of all other agents to which it is linked.  So an application is a graph of Web Agents that continuously compute using their own states and the states of Agents to which they are linked.  Examples of links may help: Containment, geospatial proximity, computed correlations in time and space, projected or predicted correlations and so on - these allow stateful computation on rich contextual information that dramatically improves the utility of solutions, and massively improves their accuracy.

A distributed Swim application automatically builds a graph directly from streaming data: Each leaf is a concurrent actor (called a Web Agent) that continuously and statefully analyzes data from a single source.  Non-leaf vertices are concurrent Web Agents that continuously analyze the states of data sources to which they are linked.  Links represent dynamic, complex relationships that are found between data sources (eg: “correlated”, “near” or “predicted to be”). 

A Swim application is a distributed, in-memory graph in which each vertex concurrently and statefully evolves as events flow and actor states change. The graph of linked Web Agents is created, directly from streaming data and their analysis. Distributed analysis is made possible by the WARP cache coherency protocol that delivers strong consistency without the complexity and delay inherent in database protocols.   Continuous intelligence applications built on Swim analyze, learn, and predict continuously while remaining coherent with the real-world, benefiting from a million-fold speedup for event processing while supporting continuously updated, distributed application views.

Finally, event streams have inherent time semantics because each event is produced at a specific time. Many stream computations are based on time, including  windows, aggregations, sessions, pattern detection, and time-based joins. An important aspect of stream processing is how an application measures time, i.e., the difference of event-time and processing-time.  Both Flink and Swim provide a rich set of time-related features, including event-time and wall-clock-time processing. Swim has a strong focus on real-time applications and application coherence.


r/apacheflink • • Oct 20 '26

flink connector duckdb

4 Upvotes

I was looking for a way to write Flink SQL results directly to a DuckDB file, but couldn’t find a connector for it, so I built one.

flink-connector-duckdb: https://github.com/Ashfaqbs/flink-connector-duckdb

Example:

CREATE TABLE sink_table (
  id BIGINT,
  name STRING,
  score DOUBLE
) WITH (
  'connector' = 'duckdb',
  'database-path' = '/data/my.db',
  'table-name' = 't',
  'key-fields' = 'id'
);

INSERT INTO sink_table
SELECT id, name, score FROM source_stream;

It supports regular inserts by default, or upserts using ON CONFLICT when you set key-fields.

  • Flink 1.20

  • Apache 2.0 license

  • 14/14 tests passing against a real DuckDB file

  • CI green

  • Sink-only for now; the target table must already exist

One tricky part was DuckDB’s file locking. A local database file isn’t safe to write to from multiple Flink sink subtasks, so the connector rejects sink.parallelism > 1 for local files instead of letting the job hang or behave unpredictably. Higher parallelism is only supported for remote targets such as MotherDuck.

There’s also a difference in delivery guarantees: plain inserts can duplicate rows after a restart because writes aren’t tied to Flink checkpoints. Upserts with key-fields are effectively exactly-once, since replayed writes update the existing row instead of creating duplicates.

It’s new, so I don’t have adoption numbers yet. Sharing it in case anyone else has run into the same gap. Feedback is welcome, especially from anyone who’s tried Flink with MotherDuck.

Repo: https://github.com/Ashfaqbs/flink-connector-duckdb


r/apacheflink • • Mar 19 '25

Optimizing Streaming Analytics with Apache Flink and Fluss

5 Upvotes

🎉📣Join Giannis Polyzos Ververica's Staff Streaming Product Architect, as he introduces Fluss, the next evolution of streaming storage built for real-time analytics. 🌊

▶️ Discover how Apache Flink®, the industry-leading stream processing engine, paired with Fluss, a high-performance transport and storage layer, creates a powerful, cost-effective, and scalable solution for modern data streaming.

🔎In this session, you'll explore:

  • Fluss: The Next Evolution of Streaming Analytics

  • Value of Data Over Time & Why It Matters

  • Traditional Streaming Analytics Challenges

  • Event Consolidation & Stream/Table Duality

  • Tables vs. Topics: Storage Layers & Querying Data

  • Changelog Generation & Streaming Joins: FLIP-486

  • Delta Joins & Lakehouse Integration

  • Streaming & Lakehouse Unification

📌 Learn why streaming analytics require columnar streams, and how Fluss and Flink provides sub-second read/write latency that offers 10x read throughput improvement over row-based analytics.

✍️Subscribe to stay updated on real-time analytics & innovations!

🔗Join the Fluss community on GitHub

👉 Don't forget about Flink Forward 2025 in Barcelona and the Ververica Academy Live Bootcamps in Warsaw, Lima, NYC and San Francisco.