Interface SendResult
@Experimental
public interface SendResult
Send result metadata.
-
Method Summary
Modifier and TypeMethodDescriptionlongoffset()Returns the offset assigned to this invocation within the producer's sequence.
-
Method Details
-
offset
long offset()Returns the offset assigned to this invocation within the producer's sequence. For anExactlyOnceProducerthis is the offset you supplied; otherwise it is autogenerated.- Returns:
- the assigned offset
-