pulsar-client-cpp
Loading...
Searching...
No Matches
ConsumerCryptoFailureAction.h
1
19#ifndef CONSUMERCRYPTOFAILUREACTION_H_
20#define CONSUMERCRYPTOFAILUREACTION_H_
21
22namespace pulsar {
23
24enum class ConsumerCryptoFailureAction
25{
26 FAIL, // This is the default option to fail consume until crypto succeeds
27 DISCARD, // Message is silently acknowledged and not delivered to the application
28 CONSUME // Deliver the encrypted message to the application. It's the application's
29 // responsibility to decrypt the message. If message is also compressed,
30 // decompression will fail. If message contain batch messages, client will
31 // not be able to retrieve individual messages in the batch
32};
33
34} /* namespace pulsar */
35
36#endif /* CONSUMERCRYPTOFAILUREACTION_H_ */
Definition Authentication.h:31