ReadLastOffset returns the last offset available on the connection.
()
| 904 | |
| 905 | // ReadLastOffset returns the last offset available on the connection. |
| 906 | func (c *Conn) ReadLastOffset() (int64, error) { |
| 907 | return c.readOffset(LastOffset) |
| 908 | } |
| 909 | |
| 910 | // ReadOffsets returns the absolute first and last offsets of the topic used by |
| 911 | // the connection. |