Confluent CCDAK Question Answer
Match the testing tool with the type of test it is typically used to perform.
Unit Testing→ MockProducer
Integration Testing→ Testcontainers
Performance Testing→ Trogdor
Mock Data Generation→ Connect Datagen
MockProducer: Simulates a Kafka producer in unit tests (no real broker interaction).
Testcontainers: Spawns Kafka in Docker forreal environment testing.
Trogdor: Kafka’s built-inperformance load testingframework.
Connect Datagen: Createssample source recordsfor test and demo purposes.
FromKafka Developer Tools Guide:
“Kafka developers commonly use MockProducer for unit tests, Testcontainers for integration, and Trogdor for performance tests.”
TESTED 16 Jul 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved