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 2019/09/30 10:22:04 UTC

[GitHub] [pulsar] kevenYLi opened a new pull request #5295: [Doc]to fix syntax err in the sample code: close producer async

kevenYLi opened a new pull request #5295: [Doc]to fix syntax err in the sample code: close producer async
URL: https://github.com/apache/pulsar/pull/5295
 
 
   ### Motivation
   
   * to fix syntax err in the sample code: 'Close operations can also be asynchronous’, the error are as below:
     - Cannot resolve method 'exceptionally(\<lambda expression>)
     - Bad return type in lambda expression: Throwable cannot be converted to Void
   
   
   ### Modifications
   
   - delete the unexpected semicolon
   - adjust return clause.
   
   ### Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - 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


With regards,
Apache Git Services