pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] wolfstudy edited a comment on issue #3455: Acktimeout cannot be set in Go Client
Date Mon, 28 Jan 2019 07:50:27 GMT
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

Mime
View raw message