Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flink deployment configurations #14

Merged
merged 1 commit into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions helm_charts/flink/templates/flink_job_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ spec:
"-Ds3.endpoint={{ .Values.s3_endpoint }}",
"-Ds3.path.style.access={{ .Values.s3_path_style_access }}",
{{- end }}
{{- $release_name := .Release.Name }}
"--job-classname={{ (index .Values $release_name).job_classname }}",
"-Dweb.submit.enable=false",
"-Dmetrics.reporter.prom.class=org.apache.flink.metrics.prometheus.PrometheusReporter",
Expand Down
31 changes: 16 additions & 15 deletions helm_charts/flink/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ log4j_console_properties: |
logger.netty.level = OFF

base_config: |
kafka {
broker-servers = "kafka-headless.kafka.svc.cluster.local:9092"
producer.broker-servers = "kafka-headless.kafka.svc.cluster.local:9092"
consumer.broker-servers = "kafka-headless.kafka.svc.cluster.local:9092"
zookeeper = "kafka-zookeeper-headless.svc.cluster.local:2181"
producer {
max-request-size = 1572864
batch.size = 98304
linger.ms = 10
compression = "snappy"
}
}
job {
env = "dev"
enable.distributed.checkpointing = false
Expand All @@ -98,6 +86,19 @@ base_config: |
base.url = ""
}
}
kafka {
broker-servers = "kafka-headless.kafka.svc.cluster.local:9092"
producer.broker-servers = "kafka-headless.kafka.svc.cluster.local:9092"
consumer.broker-servers = "kafka-headless.kafka.svc.cluster.local:9092"
zookeeper = "kafka-zookeeper-headless.svc.cluster.local:2181"
producer {
max-request-size = 1572864
batch.size = 98304
linger.ms = 10
compression = "snappy"
}
output.system.event.topic = ${job.env}".system.events"
}
task {
parallelism = 1
consumer.parallelism = 1
Expand All @@ -109,17 +110,17 @@ base_config: |

redisdb.connection.timeout = 100
redis {
host = localhost
host = obsrv-redis-master.redis.svc.cluster.local
port = 6379
}

redis-meta {
host = localhost
host = obsrv-redis-master.redis.svc.cluster.local
port = 6379
}

postgres {
host = localhost
host = postgres-postgresql-hl.postgres.svc.cluster.local
port = 5432
maxConnections = 2
user = "postgres"
Expand Down