~/talk

Pkl: Safe and Maintainable Config for Java Apps and Infrastructure

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java, infrastructure-as-code]
slides:none on file

Pkl is a new declarative config language that compiles to YAML/JSON and provides real type safety: schemas via classes, type constraints (eg port > 1024), nullability and reusable templates. Language bindings generate Java/Kotlin classes so Spring startup maps PKL directly into typed objects; demos show compilation errors catching bad types and a Spring app returning the mapped config. PKL libraries cover CloudFormation and Kubernetes, a CloudFormation stack deploys via rain deploys CloudFormation from PKL, Kubernetes manifests import to Rancher, and a GitHub Actions repo replaces dozens of hand‑edited YAMLs. Open Source by Apple typed config + templating

AI-written summary · about

  1. 0:00Introduction
  2. 1:07What is Pkl
  3. 2:11Tooling and safety
  4. 3:58Types and constraints
  5. 6:27Schemas and classes
  6. 8:56Nullability and comments
  7. 10:00Type aliases and enums
  8. 11:29Objects and templating
  9. 14:38Functions and libraries
  10. 19:16Pkl with Spring
  11. 24:34Pkl in real-world infrastructure
  12. 27:25CloudFormation with Pkl
  13. 33:52Kubernetes deployments
  14. 39:50GitHub Actions with Pkl
  15. 46:13Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.