flink-job-v1.0.0
·
1 commit
to refs/heads/release/flink-job-v1.0
since this release
What's Changed
- Change default logging to use JsonTemplateLayout by @pegtrifork in #202
Breaking Changes since 0.x
Default logging configuration now requires org.apache.logging.log4j:log4j-layout-template-json
to be on the classpath.
This can be achived by adding the following to your runtime layer in your Dockerfile:
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Add support for structured JSON logging
RUN log4jVersion=$(find /opt/flink/lib/ -name 'log4j-core-*.jar' -exec basename {} \; | grep -oP '(\d+\.\d+\.\d+)') && \
wget --progress=dot:giga -P /opt/flink/lib "https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-layout-template-json/$log4jVersion/log4j-layout-template-json-$log4jVersion.jar"
Full Changelog: flink-job-v0.9.0...flink-job-v1.0.0