Interface SendResult


@Experimental public interface SendResult
Send result metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    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 an ExactlyOnceProducer this is the offset you supplied; otherwise it is autogenerated.
      Returns:
      the assigned offset