Skip to content

Commit

Permalink
Add TASK_MANAGER_SLOTS and TASK_PARALLELISM to jobmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke committed Jun 27, 2024
1 parent 9a00d39 commit e5da69f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ NETWORK_MEMORY_MIN=
NETWORK_MEMORY_MAX=
TOTAL_PROCESS_MEMORY=
MANAGED_MEMORY_FRACTION=
TASK_MANAGER_SLOTS=20
TASK_PARALLELISM=1

# MySQL
MYSQL_DATABASE=openmrs
Expand Down
2 changes: 2 additions & 0 deletions docker/docker-compose-streaming-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ services:
- NETWORK_MEMORY_MAX=${NETWORK_MEMORY_MAX:-1g}
- TOTAL_PROCESS_MEMORY=${TOTAL_PROCESS_MEMORY:-8g}
- MANAGED_MEMORY_FRACTION=${MANAGED_MEMORY_FRACTION:-0.7}
- TASK_MANAGER_SLOTS=${TASK_MANAGER_SLOTS:-20}
- TASK_PARALLELISM=${TASK_PARALLELISM:-1}
volumes:
- flink-shared-data:/tmp
- ./data:/data
Expand Down

0 comments on commit e5da69f

Please sign in to comment.