Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 631 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 631 Bytes

Docker Flink HA

This repository provides a docker compose template to establish Flink HA infrastructure, in order to confirm what is described in JobManager High Availability (HA).

Run

  1. docker-compose up
  2. flink run -m localhost:18081 <your_flink_application.jar> (use localhost:28081 instead of localhost:18081 when jobmanager2 is the master)
  3. Open http://localhost:18081 (use localhost:28081 similarly)

You can see the standby JobManager takes the role of master when you shutdown the master JobManager.