You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/24 15:09:35 UTC

[GitHub] [pulsar] codelipenghui opened a new pull request #7655: Fix backward compatibility issues with batch index acknowledgment.

codelipenghui opened a new pull request #7655:
URL: https://github.com/apache/pulsar/pull/7655


   Fixes #7460
   
   ### Motivation
   
   Fix backward compatibility issues with batch index acknowledgment.
   
   ### Modifications
   
   Disable batch index acknowledgment by default at the consumer side.
   
   ### Verifying this change
   
   Integration tests added.
   
   ### 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): (no)
     - The public API: (yes)
     - The schema: (no)
     - The default values of configurations: ( no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on pull request #7655: Fix backward compatibility issues with batch index acknowledgment.

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7655:
URL: https://github.com/apache/pulsar/pull/7655#issuecomment-663776906


   /pulsarbot run-failure-checks


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] wolfstudy commented on pull request #7655: Fix backward compatibility issues with batch index acknowledgment.

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on pull request #7655:
URL: https://github.com/apache/pulsar/pull/7655#issuecomment-664095212


   /pulsarbot run-failure-checks
   
   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] wolfstudy merged pull request #7655: Fix backward compatibility issues with batch index acknowledgment.

Posted by GitBox <gi...@apache.org>.
wolfstudy merged pull request #7655:
URL: https://github.com/apache/pulsar/pull/7655


   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] wolfstudy commented on pull request #7655: Fix backward compatibility issues with batch index acknowledgment.

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on pull request #7655:
URL: https://github.com/apache/pulsar/pull/7655#issuecomment-664112089






----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on a change in pull request #7655: Fix backward compatibility issues with batch index acknowledgment.

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on a change in pull request #7655:
URL: https://github.com/apache/pulsar/pull/7655#discussion_r461302857



##########
File path: pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java
##########
@@ -609,6 +609,12 @@
      */
     ConsumerBuilder<T> enableRetry(boolean retryEnable);
 
+    /**
+     * Enable or disable the batch index acknowledgment. To enable this feature must ensure batch index acknowledgment
+     * feature is enabled at the broker side.
+     */
+    ConsumerBuilder<T> batchIndexAcknowledgmentEnabled(boolean batchIndexAcknowledgmentEnabled);

Review comment:
       Ok




----------------------------------------------------------------
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.

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