Build & DeployBuild & Deploy
Tools-in-Action30min
INTERMEDIATE

From compose.yaml to Testcontainers: testing Kibana with one line of Java

This session demonstrates how Testcontainers simplifies running Kibana with Elasticsearch for testing and demos. Using the new KibanaContainer for Java, it showcases design choices for automation, secure connectivity, and sensible defaults, turning complex multi-service setups into easy, reproducible workflows and developer-friendly APIs.

talk.summaryAiDisclaimer

Piotr Przybył
Piotr PrzybyłElastic

talkDetail.whenAndWhere

Thursday, June 18, 18:15-18:45
Room 2
talks.roomOccupancytalks.noOccupancyInfo
talks.description
Kibana is a powerful tool for exploring data, building dashboards, and interacting with Elasticsearch. But when developers want to include it in automated tests, demos, or reproducible local environments, the setup often involves multiple moving parts: Elasticsearch, security configuration, and the right connection settings.
In this session we will see how Testcontainers can turn that setup into a simple and repeatable developer workflow.
Using the recently proposed KibanaContainer for Testcontainers Java as a real-world example, we will explore what it takes to make a sophisticated tool easy to start from code. We will walk through the design decisions behind it: automatically pairing with ElasticsearchContainer, connecting to external clusters, handling authentication and TLS, and providing sensible defaults that work well in automated tests.
Finally, we will see how this approach allows developers to start Kibana from Java with just a few lines of code and use it in integration tests, demos, and reproducible development environments.
The result is not just a new container class, but a pattern for turning multi-service setups into clean, developer-friendly APIs.
kibana
testcontainers
elasticsearch
java
talks.speakers
Piotr Przybył

Piotr Przybył

Elastic

Poland

Notorious engineer at work and after hours, tracing meanders of the art of software engineering. Remote Software Gardener, mostly working in web-oriented Java gardens. Java Champion. Testcontainers Champion. Programming usually in Java (since 1.3), Scala and Go, but in other languages too. Fan of agility, seen mostly as choosing the right tools and approaches after asking the right questions. Developer, trainer and conference speaker. In his talks, Piotr covers not only hardcore Java but also software architecture, computer security, and soft-skills.