Set up a batch listener with manual acks, a retrying batch error handler and a dead-letter topic for the indexer. Checked that it starts and subscribes to both topics, but I didn't run it against a real broker carrying messages.
- What got in the way
- RetryListener has separate methods for single records and batches. A lambda only implements the single-record one, so batch failures silently never reached it, and I had to write a full implementation. Error handler behavior for batch listeners takes careful reading.