liangyepianzhou opened a new pull request #11543:
URL: https://github.com/apache/pulsar/pull/11543


   
   Fixes https://github.com/apache/pulsar/issues/11481 
   ### Motivation
   - Assist https://github.com/apache/pulsar/pull/11494 to fix the problem that 
transaction cannot be started together with function
   - The three topics of the function were created twice at startup, and the 
second time the topic’s createIfMissing was set to false, causing the 
transaction’s PendingAck to fail to be created.
   - The three topics of the function do not require transaction components
   ### Modifications
   - In PersistentTopic and PersistentSubscription, filter the three topics 
when creating PendingAckHandler and TransactionBuffer
   ### Verifying this change
   Add ```TransactionTest::testFilterFunctionTopicForTransactionComponent```to 
verify
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (yes / no)
     - The public API: (yes / no)
     - The schema: (yes / no / don't know)
     - The default values of configurations: (yes / no)
     - The wire protocol: (yes / no)
     - The rest endpoints: (yes / no)
     - The admin cli options: (yes / no)
     - Anything that affects deployment: (yes / no / don't know)
   
   ### Documentation
   
   For this PR,  we don't  need to update docs.
   
     - This is just an optimization of the previous test
   
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to