Thanks a lot Greg! I am sure lots of users will find this useful!
Relying on org.springframework.kafka.annotation.KafkaListener looks specifically useful as it provides a way to trace "Kafka-consumer-transactions" properly, even though the record consumption is done through polling APIs, which are not that useful for transaction tracing.