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/01/28 07:50:27 UTC

[GitHub] wolfstudy edited a comment on issue #3455: Acktimeout cannot be set in Go Client

wolfstudy edited a comment on issue #3455: Acktimeout cannot be set in Go Client
URL: https://github.com/apache/pulsar/issues/3455#issuecomment-458027958
 
 
   @tfhappy hello, I run the code you provided, and have the same problem, but when I set the timeout time to 10s or more, this code works fine. 
   
   the specific reasons are as follows:
   
   ```
   /**
    * Set the timeout in milliseconds for unacknowledged messages, the timeout needs to be greater than
    * 10 seconds. An Exception is thrown if the given value is less than 10000 (10 seconds).
    * If a successful acknowledgement is not sent within the timeout all the unacknowledged messages are
    * redelivered.
    * @param timeout in milliseconds
    */
   void pulsar_consumer_set_unacked_messages_timeout_ms(pulsar_consumer_configuration_t *consumer_configuration,
                                                        const uint64_t milliSeconds);
   ```
   
   expect to be useful to you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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