public boolean complete(long baseOffset, long logAppendTime) {
        return done(baseOffset, logAppendTime, null, null);
    }
Complete the batch successfully.
@param baseOffset The base offset of the messages assigned by the server
@param logAppendTime The log append time or -1 if CreateTime is being used
@return true if the batch was completed as a result of this call, and false
  if it had been completed previously
clients/src/main/java/org/apache/kafka/clients/producer/internals/ProducerBatch.java