[[["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 2025-03-05 UTC."],[[["This webpage provides documentation for the `ManagedKafkaLimitedErrorCountRetryPolicy` class, which is part of the Google Cloud C++ client library for Managed Kafka, with the latest version being `2.37.0-rc`."],["The `ManagedKafkaLimitedErrorCountRetryPolicy` class defines a retry mechanism for `ManagedKafkaConnection` that stops retrying if there is a non-transient error or if the number of transient errors exceeds a predefined limit, where `kUnavailable` is considered a transient error."],["You can create an instance of `ManagedKafkaLimitedErrorCountRetryPolicy` by specifying the `maximum_failures` parameter, which dictates how many transient errors are allowed before retries stop; setting it to 0 disables retries."],["The policy includes methods to check for permanent failures (`IsPermanentFailure`), determine if retries are exhausted (`IsExhausted`), and define behavior on failures (`OnFailure`)."],["The `clone` method creates a new instance of the policy, reset to its initial state, and there are also constructors and accessors available to copy and get the current maximum failure settings respectively."]]],[]]