Adding a func to return the current offset for a broker.