A NackHandler handles when nack() is called in a user's AckReplyConsumer. Pub/Sub Lite does not
have a concept of 'nack'. When nack() is called in an AckReplyConsumerr, nack(message) is called
with the nacked message.
If the returned future is successful, the message is acknowledged. If the future fails, the
subscriber client will be failed. The default behavior is to immediately fail the client.
Methods
nack(PubsubMessage message)
public default ApiFuture<Void> nack(PubsubMessage message)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]