This is a minimal example that shows how to capture the topic, partition, and offset for a Spring Boot consumer.
alexwoolford/spring-boot-kafka-ack-example
Spring Boot Kafka producer example with an ack that captures the topic, partition, and offset
Java