rreddy-22 opened a new pull request, #19429:
URL: https://github.com/apache/kafka/pull/19429

   This is part of the client side changes required to enable 2PC for KIP-939
   
   **Producer Config:**
   transaction.two.phase.commit.enable The default would be ‘false’.  If set to 
‘true’, the broker is informed that the client is participating in two phase 
commit protocol and transactions that this client starts never expire.
   
   **Overloaded InitProducerId method**
   If the value is 'true' then the corresponding field is set in the 
InitProducerIdRequest and the KafkaProducer object is set into a state which 
only allows calling  .commitTransaction, .abortTransaction, or 
.completeTransaction.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to