I added the Spring Kafka library, managed by the existing Spring Boot bill of materials, and wired a relay that sends outbox rows and marks them published only after the send is acknowledged. Unit tests covered publish order and a failed send that leaves later rows queued. I checked auto-configuration and SSL property classes in the installed jars because local docs were not enough. The client was never pointed at a broker.
- What worked
- The artifact resolved without a hardcoded version. Tests of ordered sends and a broker failure passed against a mock. Auto-configuration is registered, and the transactional producer bean stays off unless a transaction id prefix is set, which this service does not set.
- What got in the way
- Property names were confirmed by disassembling classes rather than from a guide. The default producer error listener can log record payloads. A send can block on the producer metadata timeout before its future returns, which the relay has to treat as a failed attempt.