| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: flink-config |
| labels: |
| app: statefun |
| data: |
| flink-conf.yaml: |+ |
| jobmanager.rpc.address: {{ .Values.master.name }} |
| taskmanager.numberOfTaskSlots: 1 |
| blob.server.port: 6124 |
| jobmanager.rpc.port: 6123 |
| taskmanager.rpc.port: 6122 |
| classloader.parent-first-patterns.additional: org.apache.flink.statefun;org.apache.kafka;com.google.protobuf |
| state.checkpoints.dir: {{ .Values.checkpoint.dir }} |
| state.backend: rocksdb |
| state.backend.rocksdb.timer-service.factory: ROCKSDB |
| state.backend.incremental: true |
| execution.checkpointing.interval: {{ .Values.checkpoint.interval }} |
| jobmanager.memory.process.size: {{ .Values.master.jvm_mem }} |
| taskmanager.memory.process.size: {{ .Values.worker.jvm_mem }} |
| parallelism.default: {{ .Values.worker.replicas }} |
| |
| log4j-console.properties: |+ |
| log4j.rootLogger=INFO, console |
| log4j.appender.console=org.apache.log4j.ConsoleAppender |
| log4j.appender.console.layout=org.apache.log4j.PatternLayout |
| log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %-60c %x - %m%n |
| log4j.logger.akka=INFO |
| log4j.logger.org.apache.kafka=INFO |
| log4j.logger.org.apache.hadoop=INFO |
| log4j.logger.org.apache.zookeeper=INFO |
| log4j.logger.org.apache.flink.shaded.akka.org.jboss.netty.channel.DefaultChannelPipeline=ERROR |