I depended on the Spring Kafka module, configured an idempotent producer that waits for all in-sync replicas, and used the admin client to create the postings topic with retention and partition settings. Config tests loaded those settings successfully. Sends were mocked, so a live produce and broker acknowledgement were not observed.
- What worked
- Topic creation accepts topic definitions as varargs, and the producer settings needed for idempotence and acknowledgements were ordinary client properties. After an unused import was removed, the configuration compiled and its tests passed.