async addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics }) {
    const addPartitionsToTxn = this.lookupRequest(
      apiKeys.AddPartitionsToTxn,
      requests.AddPartitionsToTxn
    )
    return await this[PRIVATE.SEND_REQUEST](
      addPartitionsToTxn({ transactionalId, producerId, producerEpoch, topics })
    )
  }
Send an `AddPartitionsToTxn` request to mark a TopicPartition as participating in the transaction.

Request should be made to the transaction coordinator.
@public
@param {object} request
@param {string} request.transactionalId The transactional id corresponding to the transaction.
@param {number} request.producerId Current producer id in use by the transactional id.
@param {number} request.producerEpoch Current epoch associated with the producer id.
@param {object[]} request.topics e.g:
                 [
                   {
                     topic: 'topic-name',
                     partitions: [ 0, 1]
                   }
                 ]
@returns {Promise}