@JsonProperty
        public long offset() {
            return recordMetadata.offset();
        }
Close the producer to flush any remaining messages.
tools/src/main/java/org/apache/kafka/tools/VerifiableProducer.java